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