1 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* MediaQueryParser.pm, SelectorsParser.pm, Parser.pm: Support |
4 |
|
for new style of error reports. |
5 |
|
|
6 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* Parser.pm: 'writing-mode', 'text-anchor', 'dominant-baseline', |
9 |
|
and 'alignment-baseline' are implemented. |
10 |
|
|
11 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* Parser.pm (parse_char_string): Precious '@charset' error |
14 |
|
reporting. |
15 |
|
|
16 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* Parser.pm (parse_char_string): '@import' support. |
19 |
|
|
20 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* Parser.pm (parse_char_string): Create a style sheet |
23 |
|
before the actual parsing (or use the style sheet created before |
24 |
|
the invocation to the method. |
25 |
|
(init): New. |
26 |
|
|
27 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* Parser.pm: |attr(prefix|localname)| did not work. Support |
30 |
|
for uppercase namespace prefixes (namespace prefixes were |
31 |
|
not normalized into lowercase when they were looked up.). Report |
32 |
|
the property name token when an unknown property error is raised. |
33 |
|
The '-moz-pre-wrap' value is supported for 'white-space' property. |
34 |
|
('background-position'): 'center left' and 'center right' |
35 |
|
were not supported. |
36 |
|
|
37 |
|
* SelectorsParser.pm: Report the namespace prefix token when |
38 |
|
an undeclared prefix error is raised. S_TOKEN in |
39 |
|
COMBINATOR_STATE was not handled correctly. |
40 |
|
|
41 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* Parser.pm (new): s/unsupported/u/; |
44 |
|
|
45 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* Parser.pm: Support for '@nedia' at-rule. |
48 |
|
|
49 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* MediaQueryParser.pm, MediaQuerySerializer.pm: New Perl modules. |
52 |
|
|
53 |
|
2008-02-03 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* Parser.pm ('display', 'list-style-type', |
56 |
|
'caption-side'): CSS 2.0 values added. |
57 |
|
('font-size-adjust', 'font-stretch', 'marker-offset'): Implemented. |
58 |
|
($length_percentage_keyword_parser): Now this is in a variable. |
59 |
|
($length_keyword_parser): Now this is in a variable, too. |
60 |
|
('font'): Reset 'font-size-adjust' and 'font-stretch' as |
61 |
|
defined by CSS2. |
62 |
|
('marks', 'size', 'page'): Implemented. |
63 |
|
|
64 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* Parser.pm ($default_serializer, serialize parameters): Removed (now |
67 |
|
it is part of manakai Message::DOM::CSSStyleDeclaration). |
68 |
|
('overflow' key): Removed (since it is a shorthand property). |
69 |
|
|
70 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* Parser.pm ('font', 'cursor'): Serializer are |
73 |
|
merged with $default_serializer. |
74 |
|
|
75 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* Parser.pm ($default_serializer): New 'RECT' type supported. |
78 |
|
('clip'): Implemented. |
79 |
|
|
80 |
|
2008-01-30 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* Parser.pm ($default_serializer): New 'ADDCOUNTER' |
83 |
|
and 'SETCOUNTER' types supported. |
84 |
|
('content'): 'counter()' and 'counters()' are supported iff |
85 |
|
the property 'counter-reset' is supported. |
86 |
|
('counter-reset', 'counter-increment'): Implemented. |
87 |
|
|
88 |
|
2008-01-28 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* Parser.pm ($default_serializer): New 'CONTENT' type supported. |
91 |
|
('content'): Implemented. |
92 |
|
|
93 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
95 |
|
* Parser.pm ($default_serializer): 'QUOTES' type supported. |
96 |
|
('quotes'): Implemented. |
97 |
|
|
98 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* Parser.pm ($one_keyword_parser): More accurate error location |
101 |
|
reporting. |
102 |
|
('overflow-x', 'overflow-y'): Implemented. |
103 |
|
('overflow'): Reimplemented as a shorthand. |
104 |
|
|
105 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* Parser.pm ('opacity' parse): Support for '+'. |
108 |
|
|
109 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
110 |
|
|
111 |
|
* Parser.pm ('letter-spacing' parse): Support for '+'. |
112 |
|
('border-spacing' serialize_multiple): Revised taking into |
113 |
|
account 'import' and 'inherit'. |
114 |
|
('border-spacing' parse): Support for '+'. |
115 |
|
|
116 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
119 |
|
convertion was wrong. |
120 |
|
('orphans', 'background-position' parse): Support for '+'. |
121 |
|
|
122 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
125 |
|
for '+'. |
126 |
|
('margin-top' parse): Fixed to report more accureate error |
127 |
|
position. |
128 |
|
('right'): Negative values and 'auto' were not supported. |
129 |
|
|
130 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
133 |
|
|
134 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
135 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
136 |
|
|
137 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
140 |
|
report more accurate error position. Enabled the |
141 |
|
support for '-webkit-xxx-large'. |
142 |
|
('font' parse): Support for '+' in <'font-weight'> |
143 |
|
and <'font-size'>. |
144 |
|
|
145 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
148 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
149 |
|
and 'important' into account. |
150 |
|
('background' parse): Support for '+'. Correct initial value |
151 |
|
for 'background-position-y' was not set in some cases. |
152 |
|
Wrong value was set to 'background-position-x' in some case. |
153 |
|
Did not return by some syntax errors. |
154 |
|
|
155 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
158 |
|
|
159 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
160 |
|
argument to the |get_char| function. |
161 |
|
|
162 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
165 |
|
to take 'inherit' and 'important' into account. |
166 |
|
|
167 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
170 |
|
leading | ! |s in the priority part were removed (now they |
171 |
|
are added by |css_text| attribute implementation). |
172 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
173 |
|
fixed. |
174 |
|
|
175 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
178 |
|
($generic_font_keywords): Typo fixed. |
179 |
|
|
180 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
183 |
|
are changed. |
184 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
185 |
|
Implemented. |
186 |
|
('border-style' serialize_shorthand, 'border-color' |
187 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
188 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
189 |
|
'border-bottom' serialize_shorthand, 'border-right' |
190 |
|
serialize_shorthand): New. |
191 |
|
|
192 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
193 |
|
|
194 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
195 |
|
duplicate declarations was incorrect. |
196 |
|
(margin): Use 'margin' shorthand property for serializing |
197 |
|
margin-related properties if possible. Support for the |+| |
198 |
|
sign in <'margin'> is added. |
199 |
|
|
200 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
203 |
|
similar properties. |
204 |
|
|
205 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
206 |
|
|
207 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
208 |
|
to the standard error output) is defined. |
209 |
|
(parse_char_string {get_char}): Set the next number to the |
210 |
|
column number of the last character as the column of the |
211 |
|
end of file pseudo-character. |
212 |
|
|
213 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
214 |
|
|
215 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
216 |
|
|
217 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
218 |
|
|
219 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
220 |
|
to all the onerror invocations. The |{onerror}| function |
221 |
|
is no longer called with |{line}| and |{column}| parameters. |
222 |
|
|
223 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
224 |
|
values. |
225 |
|
|
226 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
229 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
230 |
|
error handler calling codes are modified for the experimental |
231 |
|
support for more precious reporting of error location. |
232 |
|
|
233 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
234 |
|
it was never used. |
235 |
|
(get_next_token): Limited and experimental support for token |
236 |
|
emittion with the information on the position where it occurs. |
237 |
|
(serialize_token): New function. |
238 |
|
|
239 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
242 |
|
|
243 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
244 |
|
|
245 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
246 |
|
whether priority is defined. |
247 |
|
|
248 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
249 |
|
if no priority was specified. |
250 |
|
|
251 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
252 |
|
|
253 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
254 |
|
string (not undef) if the property has no assigned value. |
255 |
|
|
256 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
259 |
|
that more Gecko-like namespace serialization can be implemented. |
260 |
|
|
261 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
262 |
|
Now it does almost same as what Gecko does for namespace |
263 |
|
tratements, what Gecko does for universal selector omittion, and what |
264 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
265 |
|
for pseudo-elements since Gecko and Opera do so. |
266 |
|
|
267 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
270 |
|
|
271 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
274 |
|
|
275 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* Parser.pm: 'font' is implemented. |
278 |
|
|
279 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* Parser.pm: 'background' is implemented. |
282 |
|
|
283 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
286 |
|
'border-left', and 'outline' are implemented. White space characters |
287 |
|
were not allowed between property name and COLON. NUMBER and |
288 |
|
DIMENSION are not allowed as color in quirks mode. |
289 |
|
|
290 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
291 |
|
|
292 |
|
* Cascade.pm: The object now has new device-dependent |
293 |
|
parameter, |has_invert|. |
294 |
|
|
295 |
|
* Parser.pm: The object now has new device-dependent |
296 |
|
parameter, |clip_color| function. |
297 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
298 |
|
states. No longer check for '(' and '[' matchings for |
299 |
|
compatibility with browsers. |
300 |
|
($default_serializer): Support for 'RGBA' data type. |
301 |
|
(color): Reimplemented. |
302 |
|
(backbround-color, border-top-color, border-right-color, |
303 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
304 |
|
|
305 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* Parser.pm (background-position, background-position-x, |
308 |
|
background-position-y): Implemented. |
309 |
|
|
310 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
311 |
|
|
312 |
|
* Parser.pm (border-spacing serialize_multiple): Implemented. |
313 |
|
|
314 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
315 |
|
|
316 |
|
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
317 |
|
(border-width serialize): Was incorrect. |
318 |
|
|
319 |
|
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
320 |
|
|
321 |
|
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
322 |
|
border-spacing): Implemented. |
323 |
|
|
324 |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
326 |
* Parser.pm (letter-spacing, word-specing, text-indent, |
* Parser.pm (letter-spacing, word-specing, text-indent, |