1 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
4 |
|
report more accurate error position. Enabled the |
5 |
|
support for '-webkit-xxx-large'. |
6 |
|
('font' parse): Support for '+' in <'font-weight'> |
7 |
|
and <'font-size'>. |
8 |
|
|
9 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
12 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
13 |
|
and 'important' into account. |
14 |
|
('background' parse): Support for '+'. Correct initial value |
15 |
|
for 'background-position-y' was not set in some cases. |
16 |
|
Wrong value was set to 'background-position-x' in some case. |
17 |
|
Did not return by some syntax errors. |
18 |
|
|
19 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
22 |
|
|
23 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
24 |
|
argument to the |get_char| function. |
25 |
|
|
26 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
29 |
|
to take 'inherit' and 'important' into account. |
30 |
|
|
31 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
34 |
|
leading | ! |s in the priority part were removed (now they |
35 |
|
are added by |css_text| attribute implementation). |
36 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
37 |
|
fixed. |
38 |
|
|
39 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
42 |
|
($generic_font_keywords): Typo fixed. |
43 |
|
|
44 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
47 |
|
are changed. |
48 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
49 |
|
Implemented. |
50 |
|
('border-style' serialize_shorthand, 'border-color' |
51 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
52 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
53 |
|
'border-bottom' serialize_shorthand, 'border-right' |
54 |
|
serialize_shorthand): New. |
55 |
|
|
56 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
59 |
|
duplicate declarations was incorrect. |
60 |
|
(margin): Use 'margin' shorthand property for serializing |
61 |
|
margin-related properties if possible. Support for the |+| |
62 |
|
sign in <'margin'> is added. |
63 |
|
|
64 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
67 |
|
similar properties. |
68 |
|
|
69 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
72 |
|
to the standard error output) is defined. |
73 |
|
(parse_char_string {get_char}): Set the next number to the |
74 |
|
column number of the last character as the column of the |
75 |
|
end of file pseudo-character. |
76 |
|
|
77 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
80 |
|
|
81 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
84 |
|
to all the onerror invocations. The |{onerror}| function |
85 |
|
is no longer called with |{line}| and |{column}| parameters. |
86 |
|
|
87 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
88 |
|
values. |
89 |
|
|
90 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
93 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
94 |
|
error handler calling codes are modified for the experimental |
95 |
|
support for more precious reporting of error location. |
96 |
|
|
97 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
98 |
|
it was never used. |
99 |
|
(get_next_token): Limited and experimental support for token |
100 |
|
emittion with the information on the position where it occurs. |
101 |
|
(serialize_token): New function. |
102 |
|
|
103 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
106 |
|
|
107 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
109 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
110 |
|
whether priority is defined. |
111 |
|
|
112 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
113 |
|
if no priority was specified. |
114 |
|
|
115 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
116 |
|
|
117 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
118 |
|
string (not undef) if the property has no assigned value. |
119 |
|
|
120 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
123 |
|
that more Gecko-like namespace serialization can be implemented. |
124 |
|
|
125 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
126 |
|
Now it does almost same as what Gecko does for namespace |
127 |
|
tratements, what Gecko does for universal selector omittion, and what |
128 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
129 |
|
for pseudo-elements since Gecko and Opera do so. |
130 |
|
|
131 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
134 |
|
|
135 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
136 |
|
|
137 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
138 |
|
|
139 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* Parser.pm: 'font' is implemented. |
142 |
|
|
143 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* Parser.pm: 'background' is implemented. |
146 |
|
|
147 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
150 |
|
'border-left', and 'outline' are implemented. White space characters |
151 |
|
were not allowed between property name and COLON. NUMBER and |
152 |
|
DIMENSION are not allowed as color in quirks mode. |
153 |
|
|
154 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* Cascade.pm: The object now has new device-dependent |
157 |
|
parameter, |has_invert|. |
158 |
|
|
159 |
|
* Parser.pm: The object now has new device-dependent |
160 |
|
parameter, |clip_color| function. |
161 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
162 |
|
states. No longer check for '(' and '[' matchings for |
163 |
|
compatibility with browsers. |
164 |
|
($default_serializer): Support for 'RGBA' data type. |
165 |
|
(color): Reimplemented. |
166 |
|
(backbround-color, border-top-color, border-right-color, |
167 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
168 |
|
|
169 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
* Parser.pm (background-position, background-position-x, |
* Parser.pm (background-position, background-position-x, |