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