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