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