1 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm (parse_char_string): Precious '@charset' error |
4 |
|
reporting. |
5 |
|
|
6 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* Parser.pm (parse_char_string): '@import' support. |
9 |
|
|
10 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* Parser.pm (parse_char_string): Create a style sheet |
13 |
|
before the actual parsing (or use the style sheet created before |
14 |
|
the invocation to the method. |
15 |
|
(init): New. |
16 |
|
|
17 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* Parser.pm: |attr(prefix|localname)| did not work. Support |
20 |
|
for uppercase namespace prefixes (namespace prefixes were |
21 |
|
not normalized into lowercase when they were looked up.). Report |
22 |
|
the property name token when an unknown property error is raised. |
23 |
|
The '-moz-pre-wrap' value is supported for 'white-space' property. |
24 |
|
('background-position'): 'center left' and 'center right' |
25 |
|
were not supported. |
26 |
|
|
27 |
|
* SelectorsParser.pm: Report the namespace prefix token when |
28 |
|
an undeclared prefix error is raised. S_TOKEN in |
29 |
|
COMBINATOR_STATE was not handled correctly. |
30 |
|
|
31 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* Parser.pm (new): s/unsupported/u/; |
34 |
|
|
35 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* Parser.pm: Support for '@nedia' at-rule. |
38 |
|
|
39 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* MediaQueryParser.pm, MediaQuerySerializer.pm: New Perl modules. |
42 |
|
|
43 |
|
2008-02-03 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* Parser.pm ('display', 'list-style-type', |
46 |
|
'caption-side'): CSS 2.0 values added. |
47 |
|
('font-size-adjust', 'font-stretch', 'marker-offset'): Implemented. |
48 |
|
($length_percentage_keyword_parser): Now this is in a variable. |
49 |
|
($length_keyword_parser): Now this is in a variable, too. |
50 |
|
('font'): Reset 'font-size-adjust' and 'font-stretch' as |
51 |
|
defined by CSS2. |
52 |
|
('marks', 'size', 'page'): Implemented. |
53 |
|
|
54 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* Parser.pm ($default_serializer, serialize parameters): Removed (now |
57 |
|
it is part of manakai Message::DOM::CSSStyleDeclaration). |
58 |
|
('overflow' key): Removed (since it is a shorthand property). |
59 |
|
|
60 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* Parser.pm ('font', 'cursor'): Serializer are |
63 |
|
merged with $default_serializer. |
64 |
|
|
65 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* Parser.pm ($default_serializer): New 'RECT' type supported. |
68 |
|
('clip'): Implemented. |
69 |
|
|
70 |
|
2008-01-30 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* Parser.pm ($default_serializer): New 'ADDCOUNTER' |
73 |
|
and 'SETCOUNTER' types supported. |
74 |
|
('content'): 'counter()' and 'counters()' are supported iff |
75 |
|
the property 'counter-reset' is supported. |
76 |
|
('counter-reset', 'counter-increment'): Implemented. |
77 |
|
|
78 |
|
2008-01-28 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* Parser.pm ($default_serializer): New 'CONTENT' type supported. |
81 |
|
('content'): Implemented. |
82 |
|
|
83 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* Parser.pm ($default_serializer): 'QUOTES' type supported. |
86 |
|
('quotes'): Implemented. |
87 |
|
|
88 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* Parser.pm ($one_keyword_parser): More accurate error location |
91 |
|
reporting. |
92 |
|
('overflow-x', 'overflow-y'): Implemented. |
93 |
|
('overflow'): Reimplemented as a shorthand. |
94 |
|
|
95 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* Parser.pm ('opacity' parse): Support for '+'. |
98 |
|
|
99 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* Parser.pm ('letter-spacing' parse): Support for '+'. |
102 |
|
('border-spacing' serialize_multiple): Revised taking into |
103 |
|
account 'import' and 'inherit'. |
104 |
|
('border-spacing' parse): Support for '+'. |
105 |
|
|
106 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
109 |
|
convertion was wrong. |
110 |
|
('orphans', 'background-position' parse): Support for '+'. |
111 |
|
|
112 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
115 |
|
for '+'. |
116 |
|
('margin-top' parse): Fixed to report more accureate error |
117 |
|
position. |
118 |
|
('right'): Negative values and 'auto' were not supported. |
119 |
|
|
120 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
123 |
|
|
124 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
125 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
126 |
|
|
127 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
130 |
|
report more accurate error position. Enabled the |
131 |
|
support for '-webkit-xxx-large'. |
132 |
|
('font' parse): Support for '+' in <'font-weight'> |
133 |
|
and <'font-size'>. |
134 |
|
|
135 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
136 |
|
|
137 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
138 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
139 |
|
and 'important' into account. |
140 |
|
('background' parse): Support for '+'. Correct initial value |
141 |
|
for 'background-position-y' was not set in some cases. |
142 |
|
Wrong value was set to 'background-position-x' in some case. |
143 |
|
Did not return by some syntax errors. |
144 |
|
|
145 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
148 |
|
|
149 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
150 |
|
argument to the |get_char| function. |
151 |
|
|
152 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
155 |
|
to take 'inherit' and 'important' into account. |
156 |
|
|
157 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
160 |
|
leading | ! |s in the priority part were removed (now they |
161 |
|
are added by |css_text| attribute implementation). |
162 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
163 |
|
fixed. |
164 |
|
|
165 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
168 |
|
($generic_font_keywords): Typo fixed. |
169 |
|
|
170 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
173 |
|
are changed. |
174 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
175 |
|
Implemented. |
176 |
|
('border-style' serialize_shorthand, 'border-color' |
177 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
178 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
179 |
|
'border-bottom' serialize_shorthand, 'border-right' |
180 |
|
serialize_shorthand): New. |
181 |
|
|
182 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
185 |
|
duplicate declarations was incorrect. |
186 |
|
(margin): Use 'margin' shorthand property for serializing |
187 |
|
margin-related properties if possible. Support for the |+| |
188 |
|
sign in <'margin'> is added. |
189 |
|
|
190 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
191 |
|
|
192 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
193 |
|
similar properties. |
194 |
|
|
195 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
198 |
|
to the standard error output) is defined. |
199 |
|
(parse_char_string {get_char}): Set the next number to the |
200 |
|
column number of the last character as the column of the |
201 |
|
end of file pseudo-character. |
202 |
|
|
203 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
206 |
|
|
207 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
209 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
210 |
|
to all the onerror invocations. The |{onerror}| function |
211 |
|
is no longer called with |{line}| and |{column}| parameters. |
212 |
|
|
213 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
214 |
|
values. |
215 |
|
|
216 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
219 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
220 |
|
error handler calling codes are modified for the experimental |
221 |
|
support for more precious reporting of error location. |
222 |
|
|
223 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
224 |
|
it was never used. |
225 |
|
(get_next_token): Limited and experimental support for token |
226 |
|
emittion with the information on the position where it occurs. |
227 |
|
(serialize_token): New function. |
228 |
|
|
229 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
230 |
|
|
231 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
232 |
|
|
233 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
235 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
236 |
|
whether priority is defined. |
237 |
|
|
238 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
239 |
|
if no priority was specified. |
240 |
|
|
241 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
244 |
|
string (not undef) if the property has no assigned value. |
245 |
|
|
246 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
249 |
|
that more Gecko-like namespace serialization can be implemented. |
250 |
|
|
251 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
252 |
|
Now it does almost same as what Gecko does for namespace |
253 |
|
tratements, what Gecko does for universal selector omittion, and what |
254 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
255 |
|
for pseudo-elements since Gecko and Opera do so. |
256 |
|
|
257 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
260 |
|
|
261 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
264 |
|
|
265 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* Parser.pm: 'font' is implemented. |
268 |
|
|
269 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
270 |
|
|
271 |
|
* Parser.pm: 'background' is implemented. |
272 |
|
|
273 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
274 |
|
|
275 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
276 |
|
'border-left', and 'outline' are implemented. White space characters |
277 |
|
were not allowed between property name and COLON. NUMBER and |
278 |
|
DIMENSION are not allowed as color in quirks mode. |
279 |
|
|
280 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
281 |
|
|
282 |
|
* Cascade.pm: The object now has new device-dependent |
283 |
|
parameter, |has_invert|. |
284 |
|
|
285 |
|
* Parser.pm: The object now has new device-dependent |
286 |
|
parameter, |clip_color| function. |
287 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
288 |
|
states. No longer check for '(' and '[' matchings for |
289 |
|
compatibility with browsers. |
290 |
|
($default_serializer): Support for 'RGBA' data type. |
291 |
|
(color): Reimplemented. |
292 |
|
(backbround-color, border-top-color, border-right-color, |
293 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
294 |
|
|
295 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* Parser.pm (background-position, background-position-x, |
298 |
|
background-position-y): Implemented. |
299 |
|
|
300 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
301 |
|
|
302 |
|
* Parser.pm (border-spacing serialize_multiple): Implemented. |
303 |
|
|
304 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
307 |
|
(border-width serialize): Was incorrect. |
308 |
|
|
309 |
|
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
310 |
|
|
311 |
|
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
312 |
|
border-spacing): Implemented. |
313 |
|
|
314 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
315 |
|
|
316 |
|
* Parser.pm (letter-spacing, word-specing, text-indent, |
317 |
|
outline-width): Implemented. |
318 |
|
(outline-style): Don't allow 'hidden'. |
319 |
|
|
320 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* Parser.pm ($default_serializer): Support for |
323 |
|
the |PERCENTAGE| data type. |
324 |
|
(padding-top, border-top-width): The parser now |
325 |
|
refers the parser of the 'margin-top'. |
326 |
|
(width, height, min-width, min-height, max-width, max-height, |
327 |
|
vertical-align, line-height): Implemented. |
328 |
|
|
329 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
331 |
|
* Cascade.pm (get_specified_value_no_inherit): New function. |
332 |
|
(get_computed_value): New way to get computed value, |
333 |
|
the |{compute_multiple}| code, is now supported. |
334 |
|
|
335 |
|
* Parser.pm (top, bottom, left, right): Implemented. |
336 |
|
|
337 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
338 |
|
|
339 |
|
* Parser.pm: Some condition operators were incorrect. |
340 |
|
The 'border-width' property family is implemented. |
341 |
|
|
342 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
344 |
|
* Parser.pm: Support for the 'margin' and 'padding' |
345 |
|
property families. |
346 |
|
|
347 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
348 |
|
|
349 |
|
* Parser.pm: 'font-size' support. |
350 |
|
|
351 |
|
* Cascade.pm (new): Set default value for 'font-size' |
352 |
|
relative- and absolute- value computations. |
353 |
|
|
354 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
355 |
|
|
356 |
|
* Cascade.pm (get_cascaded_value): "*"-only declaration blocks |
357 |
|
were ignored. |
358 |
|
|
359 |
|
* Parser.pm (cursor): Implemented. |
360 |
|
|
361 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
362 |
|
|
363 |
|
* Parser.pm (text-align, text-transform, white-space, |
364 |
|
caption-side, table-layout, border-collapse, empty-cells, |
365 |
|
outline-style, text-decoration): Implemented. |
366 |
|
|
367 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
368 |
|
|
369 |
|
* Cascade.pm (get_computed_value): Even when |inherit| is specified |
370 |
|
the value is resolved into the computed value by the |{compute}| |
371 |
|
code to support edge cases not mentioned in the CSS 2.1 spec (see |
372 |
|
<http://suika.fam.cx/gate/2005/sw/inherit>). |
373 |
|
|
374 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
375 |
|
|
376 |
* Cascade.pm (get_computed_value): Resolve initial value referred |
* Cascade.pm (get_computed_value): Resolve initial value referred |