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