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> |
170 |
|
171 |
* Parser.pm (background-position, background-position-x, |
172 |
background-position-y): Implemented. |
173 |
|
174 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
175 |
|
176 |
* Parser.pm (border-spacing serialize_multiple): Implemented. |
177 |
|
178 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
179 |
|
180 |
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
181 |
(border-width serialize): Was incorrect. |
182 |
|
183 |
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
184 |
|
185 |
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
186 |
border-spacing): Implemented. |
187 |
|
188 |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
189 |
|
190 |
* Parser.pm (letter-spacing, word-specing, text-indent, |
191 |
outline-width): Implemented. |
192 |
(outline-style): Don't allow 'hidden'. |
193 |
|
194 |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
195 |
|
196 |
* Parser.pm ($default_serializer): Support for |
197 |
the |PERCENTAGE| data type. |
198 |
(padding-top, border-top-width): The parser now |
199 |
refers the parser of the 'margin-top'. |
200 |
(width, height, min-width, min-height, max-width, max-height, |
201 |
vertical-align, line-height): Implemented. |
202 |
|
203 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
204 |
|
205 |
* Cascade.pm (get_specified_value_no_inherit): New function. |
206 |
(get_computed_value): New way to get computed value, |
207 |
the |{compute_multiple}| code, is now supported. |
208 |
|
209 |
* Parser.pm (top, bottom, left, right): Implemented. |
210 |
|
211 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
212 |
|
213 |
* Parser.pm: Some condition operators were incorrect. |
214 |
The 'border-width' property family is implemented. |
215 |
|
216 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
217 |
|
218 |
* Parser.pm: Support for the 'margin' and 'padding' |
219 |
property families. |
220 |
|
221 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
222 |
|
223 |
* Parser.pm: 'font-size' support. |
224 |
|
225 |
* Cascade.pm (new): Set default value for 'font-size' |
226 |
relative- and absolute- value computations. |
227 |
|
228 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
229 |
|
230 |
* Cascade.pm (get_cascaded_value): "*"-only declaration blocks |
231 |
were ignored. |
232 |
|
233 |
* Parser.pm (cursor): Implemented. |
234 |
|
235 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
236 |
|
237 |
* Parser.pm (text-align, text-transform, white-space, |
238 |
caption-side, table-layout, border-collapse, empty-cells, |
239 |
outline-style, text-decoration): Implemented. |
240 |
|
241 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
242 |
|
243 |
* Cascade.pm (get_computed_value): Even when |inherit| is specified |
244 |
the value is resolved into the computed value by the |{compute}| |
245 |
code to support edge cases not mentioned in the CSS 2.1 spec (see |
246 |
<http://suika.fam.cx/gate/2005/sw/inherit>). |
247 |
|
248 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
249 |
|
250 |
* Cascade.pm (get_computed_value): Resolve initial value referred |
251 |
when |inherit| is specified as if it were the specified value. |
252 |
|
253 |
* Parser.pm: Some properties were incorrectly marked as |
254 |
inherited. |
255 |
(background-repeat, background-attachment, font-style, |
256 |
font-variant, font-weight, background-image, font-family): Implemented. |
257 |
|
258 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
259 |
|
260 |
* Parser.pm: Give |list-style-image|'s compute function a name. |
261 |
|
262 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
263 |
|
264 |
* Parser.pm: Give |list-style-image|'s parser a name. Bug fix |
265 |
on base URI scalar reference. |
266 |
|
267 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
268 |
|
269 |
* Parser.pm (page-break-before, page-break-after, page-break-inside, |
270 |
orphans, widows, list-style): Added. |
271 |
(z-index): Support for negative values. |
272 |
|
273 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
274 |
|
275 |
* Parser.pm: Set |manakai_base_uri| attribute of the |
276 |
created |CSSStyleSheet| object. |
277 |
More properties from CSS 2.1 are implemented. |
278 |
|
279 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
280 |
|
281 |
* Cascade.pm: The |use strict| line was missing!!!!!!!!!11 |
282 |
(get_computed_value): Support for the |inherit| value. |
283 |
|
284 |
* Parser.pm: The |inherit| value is represented by new |INHERIT| |
285 |
value type, rather than |KEYWORD|. |
286 |
(position): The initial value was incorrect. |
287 |
|
288 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
289 |
|
290 |
* Cascade.pm (get_cascaded_value): It now should return |undef| |
291 |
for shorthand properties. |
292 |
(get_specified_value, get_computed_value): New methods. |
293 |
|
294 |
* Parser.pm: |initial|, |inherited|, and |compute| properties |
295 |
are added to property definitions. |
296 |
|
297 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
298 |
|
299 |
* Cascade.pm: Specificity and priority are now supported. |
300 |
|
301 |
* Parser.pm (get_selector_specificity): New method. |
302 |
|
303 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
304 |
|
305 |
* Cascade.pm: New Perl module. |
306 |
|
307 |
* Parser.pm: |@namespace| prohibbitted immediately |
308 |
following |@namespace| rules by mistake. |
309 |
|
310 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
311 |
|
312 |
* Parser.pm: Support for border-style properties, as a model case |
313 |
for shorthand properties. |
314 |
|
315 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
316 |
|
317 |
* Parser.pm: Ignore property which is not supported by the |
318 |
application. Support for properties with a keyword being |
319 |
able to be specified is added. |
320 |
|
321 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
322 |
|
323 |
* Parser.pm: At-keywords were not case-insensitive. |
324 |
Support for property value parsing. Empty declarations |
325 |
were not supported. Raise errors for broken declarations. |
326 |
Parser and serializer definition for |color| is added. |
327 |
|
328 |
2007-12-24 Wakaba <wakaba@suika.fam.cx> |
329 |
|
330 |
* Parser.pm: Support for |@namespace| rule. |
331 |
|
332 |
* SelectorsSerializer.pm: Support for |lookup_namespace_prefix| |
333 |
parameter is added. |
334 |
|
335 |
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
336 |
|
337 |
* Parser.pm: Support for the |@charset| rule. |
338 |
|
339 |
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
340 |
|
341 |
* Parser.pm (parse_char_string): A poor support for error |
342 |
line/column reporting is added. Support for pseudo-element |
343 |
and pseudo-class. |
344 |
|
345 |
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
346 |
|
347 |
* Parser.pm: New module. |
348 |
|
349 |
* SelectorsParser.pm (parse_string): Split into |parse_string| |
350 |
and |_parse_selectors_with_tokenizer|. Support for "end by |
351 |
token T" option. Return the last token as well as the |
352 |
parsed selectors pbject. |
353 |
|
354 |
2007-11-24 Wakaba <wakaba@suika.fam.cx> |
355 |
|
356 |
* SelectorsParser.pm (parse_string): Raise errors if appropriate. |
357 |
|
358 |
2007-10-28 Wakaba <wakaba@suika.fam.cx> |
359 |
|
360 |
* SelectorsSerializer.pm (serialize_test): Namespace prefix |
361 |
IS namespace URI for sorting stability (attribute and :not() |
362 |
selectors). |
363 |
|
364 |
* selectors-object.en.html: Namespace URI cannot be empty. |
365 |
|
366 |
2007-10-22 Wakaba <wakaba@suika.fam.cx> |
367 |
|
368 |
* SelectorsSerializer.pm ($ident): Non-ascii name start |
369 |
characters after leading |-| was escaped. An IDENT |
370 |
of |-| was not escaped. |
371 |
|
372 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
373 |
|
374 |
* selectors-object.en.html: New documentation. |
375 |
|
376 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
377 |
|
378 |
* SelectorsParser.pod, Makefile: New files. |
379 |
|
380 |
2007-10-07 Wakaba <wakaba@suika.fam.cx> |
381 |
|
382 |
* SelectorsParser.pm (parse_string): An |IDENT| |
383 |
can be specified as the argument for |-manakai-contains|, |
384 |
as defined in Selectors CR (2001). |
385 |
|
386 |
2007-10-07 Wakaba <wakaba@suika.fam.cx> |
387 |
|
388 |
* SelectorsParser.pm (BEFORE_CONTAINS_STRING_STATE): New state. |
389 |
(parse_string): Support for |-manakai-current| |
390 |
and |-manakai-contains| pseudo-classes. |
391 |
|
392 |
* SelectorsSerializer.pm: Support for |-manakai-current| |
393 |
and |-manakai-contains| pseudo-classes. |
394 |
|
395 |
2007-09-30 Wakaba <wakaba@suika.fam.cx> |
396 |
|
397 |
* Tokenizer.pm: |\\{nl}| incorrectly appended |{nl}| to |
398 |
the string value of the token. |
399 |
|
400 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
401 |
|
402 |
* SelectorsParser.pm: Pass an empty string as a prefix |
403 |
for lookup namespace prefix callback, for loose compatibility |
404 |
with the |NSResolver| interface. |
405 |
|
406 |
2007-09-22 Wakaba <wakaba@suika.fam.cx> |
407 |
|
408 |
* SelectorsParser.pm, SelectorsSerializer.pm: New Perl modules. |
409 |
|
410 |
* Tokenizer.pm: Token type constants are exportable. |
411 |
|
412 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
413 |
|
414 |
* Tokenizer.pm: Delimiters frequently used in CSS |
415 |
now have different |type|s than |DELIM_TOKEN|. |
416 |
|
417 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
418 |
|
419 |
* Tokenizer.pm: |UNICODE_RANGE| token's |value| no longer |
420 |
includes |U+| prefix. |
421 |
|
422 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
423 |
|
424 |
* Tokenizer.pm: |URI| bugs are fixed. |
425 |
|
426 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
427 |
|
428 |
* Tokenizer.pm: |DIMENSION| and |NUMBER| related |
429 |
bugs are fixed. |
430 |
|
431 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
432 |
|
433 |
* Tokenizer.pm: |NUMBER|-related bugs are fixed. |
434 |
|
435 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
436 |
|
437 |
* Tokenizer.pm: |STRING|-related bugs are fixed. |
438 |
|
439 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
440 |
|
441 |
* Tokenizer.pm: Bug fixes. |
442 |
|
443 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
444 |
|
445 |
* Tokenizer.pm: |UNICODE-RANGE| is implemented. |
446 |
|
447 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
448 |
|
449 |
* Tokenizer.pm: |COMMENT| is implemented. |
450 |
A bug for treatement for |@-->| is fixed. |
451 |
|
452 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
453 |
|
454 |
* Tokenizer.pm: |url()| and |url-prefix()| are implemented. |
455 |
Bug for treatement for |@-| is fixed. |
456 |
|
457 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
458 |
|
459 |
* Tokenizer.pm: First working version. |
460 |
|
461 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
462 |
|
463 |
* Tokenizer.pm: New module. |
464 |
|
465 |
* ChangeLog: New file. |
466 |
|