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