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