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