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