1 |
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* Parser.pm ($one_keyword_parser): More accurate error location |
4 |
reporting. |
5 |
('overflow-x', 'overflow-y'): Implemented. |
6 |
('overflow'): Reimplemented as a shorthand. |
7 |
|
8 |
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
9 |
|
10 |
* Parser.pm ('opacity' parse): Support for '+'. |
11 |
|
12 |
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
13 |
|
14 |
* Parser.pm ('letter-spacing' parse): Support for '+'. |
15 |
('border-spacing' serialize_multiple): Revised taking into |
16 |
account 'import' and 'inherit'. |
17 |
('border-spacing' parse): Support for '+'. |
18 |
|
19 |
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
20 |
|
21 |
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
22 |
convertion was wrong. |
23 |
('orphans', 'background-position' parse): Support for '+'. |
24 |
|
25 |
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
26 |
|
27 |
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
28 |
for '+'. |
29 |
('margin-top' parse): Fixed to report more accureate error |
30 |
position. |
31 |
('right'): Negative values and 'auto' were not supported. |
32 |
|
33 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
34 |
|
35 |
* Parser.pm ('font-weight' parser): Support for '+'. |
36 |
|
37 |
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
38 |
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
39 |
|
40 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
41 |
|
42 |
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
43 |
report more accurate error position. Enabled the |
44 |
support for '-webkit-xxx-large'. |
45 |
('font' parse): Support for '+' in <'font-weight'> |
46 |
and <'font-size'>. |
47 |
|
48 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
49 |
|
50 |
* Parser.pm ('background' serialize_multiple, 'background-position' |
51 |
serialize_shorthand): Reimplemented taking 'inherit' |
52 |
and 'important' into account. |
53 |
('background' parse): Support for '+'. Correct initial value |
54 |
for 'background-position-y' was not set in some cases. |
55 |
Wrong value was set to 'background-position-x' in some case. |
56 |
Did not return by some syntax errors. |
57 |
|
58 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
59 |
|
60 |
* Parser.pm (get_char): Use argument to avoid self reference. |
61 |
|
62 |
* Tokenizer.pm: Set the tokenizer itself as the first |
63 |
argument to the |get_char| function. |
64 |
|
65 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
66 |
|
67 |
* Parser.pm ('border' serialize_multiple): Reimplement |
68 |
to take 'inherit' and 'important' into account. |
69 |
|
70 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
71 |
|
72 |
* Parser.pm (serialize_shorthand, serialize_multiple): The |
73 |
leading | ! |s in the priority part were removed (now they |
74 |
are added by |css_text| attribute implementation). |
75 |
(border-width, border-style, border-color serialize_shorthand): Typo |
76 |
fixed. |
77 |
|
78 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
79 |
|
80 |
* Parser.pm (font serialize_shorthand): Implemented. |
81 |
($generic_font_keywords): Typo fixed. |
82 |
|
83 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
84 |
|
85 |
* Parser.pm: Return value of |serialize_multiple| methods |
86 |
are changed. |
87 |
('margin' serialize_multiple, 'padding' serialize_multiple): |
88 |
Implemented. |
89 |
('border-style' serialize_shorthand, 'border-color' |
90 |
serialize_shorthand, 'border-width' serialize_shorthand, |
91 |
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
92 |
'border-bottom' serialize_shorthand, 'border-right' |
93 |
serialize_shorthand): New. |
94 |
|
95 |
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
96 |
|
97 |
* Parser.pm (parse_char_string): Treatement for non-important |
98 |
duplicate declarations was incorrect. |
99 |
(margin): Use 'margin' shorthand property for serializing |
100 |
margin-related properties if possible. Support for the |+| |
101 |
sign in <'margin'> is added. |
102 |
|
103 |
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
104 |
|
105 |
* Parser.pm: Support for the |+| sign in 'margin-top' and |
106 |
similar properties. |
107 |
|
108 |
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
109 |
|
110 |
* Parser.pm (new {onerror}): The default error handler (outputting |
111 |
to the standard error output) is defined. |
112 |
(parse_char_string {get_char}): Set the next number to the |
113 |
column number of the last character as the column of the |
114 |
end of file pseudo-character. |
115 |
|
116 |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
117 |
|
118 |
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
119 |
|
120 |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
121 |
|
122 |
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
123 |
to all the onerror invocations. The |{onerror}| function |
124 |
is no longer called with |{line}| and |{column}| parameters. |
125 |
|
126 |
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
127 |
values. |
128 |
|
129 |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
130 |
|
131 |
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
132 |
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
133 |
error handler calling codes are modified for the experimental |
134 |
support for more precious reporting of error location. |
135 |
|
136 |
* Tokenizer.pm (new): The |onerror| option has been removed, since |
137 |
it was never used. |
138 |
(get_next_token): Limited and experimental support for token |
139 |
emittion with the information on the position where it occurs. |
140 |
(serialize_token): New function. |
141 |
|
142 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
143 |
|
144 |
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
145 |
|
146 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
147 |
|
148 |
* Cascade.pm (get_cascaded_value): No longer have to test |
149 |
whether priority is defined. |
150 |
|
151 |
* Parser.pm (parse_char_string): Set an empty string as the priority |
152 |
if no priority was specified. |
153 |
|
154 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
155 |
|
156 |
* Parser.pm (serialize, serialize_multiple): Return an empty |
157 |
string (not undef) if the property has no assigned value. |
158 |
|
159 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
160 |
|
161 |
* Parser.pm (parse_char_string): Namespace support is revised so |
162 |
that more Gecko-like namespace serialization can be implemented. |
163 |
|
164 |
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
165 |
Now it does almost same as what Gecko does for namespace |
166 |
tratements, what Gecko does for universal selector omittion, and what |
167 |
Opera does for ordering (i.e. no sorting). Only one COLON |
168 |
for pseudo-elements since Gecko and Opera do so. |
169 |
|
170 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
171 |
|
172 |
* SelectorsSerializer.pm (serialize_selector_text): New method. |
173 |
|
174 |
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
175 |
|
176 |
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
177 |
|
178 |
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
179 |
|
180 |
* Parser.pm: 'font' is implemented. |
181 |
|
182 |
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
183 |
|
184 |
* Parser.pm: 'background' is implemented. |
185 |
|
186 |
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
187 |
|
188 |
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
189 |
'border-left', and 'outline' are implemented. White space characters |
190 |
were not allowed between property name and COLON. NUMBER and |
191 |
DIMENSION are not allowed as color in quirks mode. |
192 |
|
193 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
194 |
|
195 |
* Cascade.pm: The object now has new device-dependent |
196 |
parameter, |has_invert|. |
197 |
|
198 |
* Parser.pm: The object now has new device-dependent |
199 |
parameter, |clip_color| function. |
200 |
(parse_char_string): Inifinite-loop fixed for ignoring |
201 |
states. No longer check for '(' and '[' matchings for |
202 |
compatibility with browsers. |
203 |
($default_serializer): Support for 'RGBA' data type. |
204 |
(color): Reimplemented. |
205 |
(backbround-color, border-top-color, border-right-color, |
206 |
border-bottom-color, border-left-color, outline-color): Implemented. |
207 |
|
208 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
209 |
|
210 |
* Parser.pm (background-position, background-position-x, |
211 |
background-position-y): Implemented. |
212 |
|
213 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
214 |
|
215 |
* Parser.pm (border-spacing serialize_multiple): Implemented. |
216 |
|
217 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
218 |
|
219 |
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
220 |
(border-width serialize): Was incorrect. |
221 |
|
222 |
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
223 |
|
224 |
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
225 |
border-spacing): Implemented. |
226 |
|
227 |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
228 |
|
229 |
* Parser.pm (letter-spacing, word-specing, text-indent, |
230 |
outline-width): Implemented. |
231 |
(outline-style): Don't allow 'hidden'. |
232 |
|
233 |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
234 |
|
235 |
* Parser.pm ($default_serializer): Support for |
236 |
the |PERCENTAGE| data type. |
237 |
(padding-top, border-top-width): The parser now |
238 |
refers the parser of the 'margin-top'. |
239 |
(width, height, min-width, min-height, max-width, max-height, |
240 |
vertical-align, line-height): Implemented. |
241 |
|
242 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
243 |
|
244 |
* Cascade.pm (get_specified_value_no_inherit): New function. |
245 |
(get_computed_value): New way to get computed value, |
246 |
the |{compute_multiple}| code, is now supported. |
247 |
|
248 |
* Parser.pm (top, bottom, left, right): Implemented. |
249 |
|
250 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
251 |
|
252 |
* Parser.pm: Some condition operators were incorrect. |
253 |
The 'border-width' property family is implemented. |
254 |
|
255 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
256 |
|
257 |
* Parser.pm: Support for the 'margin' and 'padding' |
258 |
property families. |
259 |
|
260 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
261 |
|
262 |
* Parser.pm: 'font-size' support. |
263 |
|
264 |
* Cascade.pm (new): Set default value for 'font-size' |
265 |
relative- and absolute- value computations. |
266 |
|
267 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
268 |
|
269 |
* Cascade.pm (get_cascaded_value): "*"-only declaration blocks |
270 |
were ignored. |
271 |
|
272 |
* Parser.pm (cursor): Implemented. |
273 |
|
274 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
275 |
|
276 |
* Parser.pm (text-align, text-transform, white-space, |
277 |
caption-side, table-layout, border-collapse, empty-cells, |
278 |
outline-style, text-decoration): Implemented. |
279 |
|
280 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
281 |
|
282 |
* Cascade.pm (get_computed_value): Even when |inherit| is specified |
283 |
the value is resolved into the computed value by the |{compute}| |
284 |
code to support edge cases not mentioned in the CSS 2.1 spec (see |
285 |
<http://suika.fam.cx/gate/2005/sw/inherit>). |
286 |
|
287 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
288 |
|
289 |
* Cascade.pm (get_computed_value): Resolve initial value referred |
290 |
when |inherit| is specified as if it were the specified value. |
291 |
|
292 |
* Parser.pm: Some properties were incorrectly marked as |
293 |
inherited. |
294 |
(background-repeat, background-attachment, font-style, |
295 |
font-variant, font-weight, background-image, font-family): Implemented. |
296 |
|
297 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
298 |
|
299 |
* Parser.pm: Give |list-style-image|'s compute function a name. |
300 |
|
301 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
302 |
|
303 |
* Parser.pm: Give |list-style-image|'s parser a name. Bug fix |
304 |
on base URI scalar reference. |
305 |
|
306 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
307 |
|
308 |
* Parser.pm (page-break-before, page-break-after, page-break-inside, |
309 |
orphans, widows, list-style): Added. |
310 |
(z-index): Support for negative values. |
311 |
|
312 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
313 |
|
314 |
* Parser.pm: Set |manakai_base_uri| attribute of the |
315 |
created |CSSStyleSheet| object. |
316 |
More properties from CSS 2.1 are implemented. |
317 |
|
318 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
319 |
|
320 |
* Cascade.pm: The |use strict| line was missing!!!!!!!!!11 |
321 |
(get_computed_value): Support for the |inherit| value. |
322 |
|
323 |
* Parser.pm: The |inherit| value is represented by new |INHERIT| |
324 |
value type, rather than |KEYWORD|. |
325 |
(position): The initial value was incorrect. |
326 |
|
327 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
328 |
|
329 |
* Cascade.pm (get_cascaded_value): It now should return |undef| |
330 |
for shorthand properties. |
331 |
(get_specified_value, get_computed_value): New methods. |
332 |
|
333 |
* Parser.pm: |initial|, |inherited|, and |compute| properties |
334 |
are added to property definitions. |
335 |
|
336 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
337 |
|
338 |
* Cascade.pm: Specificity and priority are now supported. |
339 |
|
340 |
* Parser.pm (get_selector_specificity): New method. |
341 |
|
342 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
343 |
|
344 |
* Cascade.pm: New Perl module. |
345 |
|
346 |
* Parser.pm: |@namespace| prohibbitted immediately |
347 |
following |@namespace| rules by mistake. |
348 |
|
349 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
350 |
|
351 |
* Parser.pm: Support for border-style properties, as a model case |
352 |
for shorthand properties. |
353 |
|
354 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
355 |
|
356 |
* Parser.pm: Ignore property which is not supported by the |
357 |
application. Support for properties with a keyword being |
358 |
able to be specified is added. |
359 |
|
360 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
361 |
|
362 |
* Parser.pm: At-keywords were not case-insensitive. |
363 |
Support for property value parsing. Empty declarations |
364 |
were not supported. Raise errors for broken declarations. |
365 |
Parser and serializer definition for |color| is added. |
366 |
|
367 |
2007-12-24 Wakaba <wakaba@suika.fam.cx> |
368 |
|
369 |
* Parser.pm: Support for |@namespace| rule. |
370 |
|
371 |
* SelectorsSerializer.pm: Support for |lookup_namespace_prefix| |
372 |
parameter is added. |
373 |
|
374 |
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
375 |
|
376 |
* Parser.pm: Support for the |@charset| rule. |
377 |
|
378 |
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
379 |
|
380 |
* Parser.pm (parse_char_string): A poor support for error |
381 |
line/column reporting is added. Support for pseudo-element |
382 |
and pseudo-class. |
383 |
|
384 |
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
385 |
|
386 |
* Parser.pm: New module. |
387 |
|
388 |
* SelectorsParser.pm (parse_string): Split into |parse_string| |
389 |
and |_parse_selectors_with_tokenizer|. Support for "end by |
390 |
token T" option. Return the last token as well as the |
391 |
parsed selectors pbject. |
392 |
|
393 |
2007-11-24 Wakaba <wakaba@suika.fam.cx> |
394 |
|
395 |
* SelectorsParser.pm (parse_string): Raise errors if appropriate. |
396 |
|
397 |
2007-10-28 Wakaba <wakaba@suika.fam.cx> |
398 |
|
399 |
* SelectorsSerializer.pm (serialize_test): Namespace prefix |
400 |
IS namespace URI for sorting stability (attribute and :not() |
401 |
selectors). |
402 |
|
403 |
* selectors-object.en.html: Namespace URI cannot be empty. |
404 |
|
405 |
2007-10-22 Wakaba <wakaba@suika.fam.cx> |
406 |
|
407 |
* SelectorsSerializer.pm ($ident): Non-ascii name start |
408 |
characters after leading |-| was escaped. An IDENT |
409 |
of |-| was not escaped. |
410 |
|
411 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
412 |
|
413 |
* selectors-object.en.html: New documentation. |
414 |
|
415 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
416 |
|
417 |
* SelectorsParser.pod, Makefile: New files. |
418 |
|
419 |
2007-10-07 Wakaba <wakaba@suika.fam.cx> |
420 |
|
421 |
* SelectorsParser.pm (parse_string): An |IDENT| |
422 |
can be specified as the argument for |-manakai-contains|, |
423 |
as defined in Selectors CR (2001). |
424 |
|
425 |
2007-10-07 Wakaba <wakaba@suika.fam.cx> |
426 |
|
427 |
* SelectorsParser.pm (BEFORE_CONTAINS_STRING_STATE): New state. |
428 |
(parse_string): Support for |-manakai-current| |
429 |
and |-manakai-contains| pseudo-classes. |
430 |
|
431 |
* SelectorsSerializer.pm: Support for |-manakai-current| |
432 |
and |-manakai-contains| pseudo-classes. |
433 |
|
434 |
2007-09-30 Wakaba <wakaba@suika.fam.cx> |
435 |
|
436 |
* Tokenizer.pm: |\\{nl}| incorrectly appended |{nl}| to |
437 |
the string value of the token. |
438 |
|
439 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
440 |
|
441 |
* SelectorsParser.pm: Pass an empty string as a prefix |
442 |
for lookup namespace prefix callback, for loose compatibility |
443 |
with the |NSResolver| interface. |
444 |
|
445 |
2007-09-22 Wakaba <wakaba@suika.fam.cx> |
446 |
|
447 |
* SelectorsParser.pm, SelectorsSerializer.pm: New Perl modules. |
448 |
|
449 |
* Tokenizer.pm: Token type constants are exportable. |
450 |
|
451 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
452 |
|
453 |
* Tokenizer.pm: Delimiters frequently used in CSS |
454 |
now have different |type|s than |DELIM_TOKEN|. |
455 |
|
456 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
457 |
|
458 |
* Tokenizer.pm: |UNICODE_RANGE| token's |value| no longer |
459 |
includes |U+| prefix. |
460 |
|
461 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
462 |
|
463 |
* Tokenizer.pm: |URI| bugs are fixed. |
464 |
|
465 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
466 |
|
467 |
* Tokenizer.pm: |DIMENSION| and |NUMBER| related |
468 |
bugs are fixed. |
469 |
|
470 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
471 |
|
472 |
* Tokenizer.pm: |NUMBER|-related bugs are fixed. |
473 |
|
474 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
475 |
|
476 |
* Tokenizer.pm: |STRING|-related bugs are fixed. |
477 |
|
478 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
479 |
|
480 |
* Tokenizer.pm: Bug fixes. |
481 |
|
482 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
483 |
|
484 |
* Tokenizer.pm: |UNICODE-RANGE| is implemented. |
485 |
|
486 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
487 |
|
488 |
* Tokenizer.pm: |COMMENT| is implemented. |
489 |
A bug for treatement for |@-->| is fixed. |
490 |
|
491 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
492 |
|
493 |
* Tokenizer.pm: |url()| and |url-prefix()| are implemented. |
494 |
Bug for treatement for |@-| is fixed. |
495 |
|
496 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
497 |
|
498 |
* Tokenizer.pm: First working version. |
499 |
|
500 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
501 |
|
502 |
* Tokenizer.pm: New module. |
503 |
|
504 |
* ChangeLog: New file. |
505 |
|