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