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