1 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* 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 |
|
* 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 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* Parser.pm (new): s/unsupported/u/; |
25 |
|
|
26 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* Parser.pm: Support for '@nedia' at-rule. |
29 |
|
|
30 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* MediaQueryParser.pm, MediaQuerySerializer.pm: New Perl modules. |
33 |
|
|
34 |
|
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 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* 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 |
|
* Parser.pm ('font', 'cursor'): Serializer are |
54 |
|
merged with $default_serializer. |
55 |
|
|
56 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* Parser.pm ($default_serializer): New 'RECT' type supported. |
59 |
|
('clip'): Implemented. |
60 |
|
|
61 |
|
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 |
|
2008-01-28 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* Parser.pm ($default_serializer): New 'CONTENT' type supported. |
72 |
|
('content'): Implemented. |
73 |
|
|
74 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* Parser.pm ($default_serializer): 'QUOTES' type supported. |
77 |
|
('quotes'): Implemented. |
78 |
|
|
79 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* 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 |
|
* Parser.pm ('opacity' parse): Support for '+'. |
89 |
|
|
90 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* 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 |
|
* 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 |
|
* 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 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
159 |
|
($generic_font_keywords): Typo fixed. |
160 |
|
|
161 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* 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 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* 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 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
184 |
|
similar properties. |
185 |
|
|
186 |
|
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 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
195 |
|
|
196 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
197 |
|
|
198 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
199 |
|
|
200 |
|
* 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 |
|
* 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 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
223 |
|
|
224 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
251 |
|
|
252 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
255 |
|
|
256 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* Parser.pm: 'font' is implemented. |
259 |
|
|
260 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
262 |
|
* Parser.pm: 'background' is implemented. |
263 |
|
|
264 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
265 |
|
|
266 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
267 |
|
'border-left', and 'outline' are implemented. White space characters |
268 |
|
were not allowed between property name and COLON. NUMBER and |
269 |
|
DIMENSION are not allowed as color in quirks mode. |
270 |
|
|
271 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* 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 |
|
* Parser.pm (background-position, background-position-x, |
289 |
|
background-position-y): Implemented. |
290 |
|
|
291 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
292 |
|
|
293 |
|
* Parser.pm (border-spacing serialize_multiple): Implemented. |
294 |
|
|
295 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* 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 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* 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 |
|
* 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 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* 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 |
|
* 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 |
|
* Parser.pm: Support for the 'margin' and 'padding' |
336 |
|
property families. |
337 |
|
|
338 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
339 |
|
|
340 |
|
* Parser.pm: 'font-size' support. |
341 |
|
|
342 |
|
* Cascade.pm (new): Set default value for 'font-size' |
343 |
|
relative- and absolute- value computations. |
344 |
|
|
345 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
346 |
|
|
347 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* 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 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
376 |
|
|
377 |
* Parser.pm: Give |list-style-image|'s compute function a name. |
* Parser.pm: Give |list-style-image|'s compute function a name. |