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