1 |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
4 |
|
|
5 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
6 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
7 |
|
|
8 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
11 |
|
report more accurate error position. Enabled the |
12 |
|
support for '-webkit-xxx-large'. |
13 |
|
('font' parse): Support for '+' in <'font-weight'> |
14 |
|
and <'font-size'>. |
15 |
|
|
16 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
19 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
20 |
|
and 'important' into account. |
21 |
|
('background' parse): Support for '+'. Correct initial value |
22 |
|
for 'background-position-y' was not set in some cases. |
23 |
|
Wrong value was set to 'background-position-x' in some case. |
24 |
|
Did not return by some syntax errors. |
25 |
|
|
26 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
29 |
|
|
30 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
31 |
|
argument to the |get_char| function. |
32 |
|
|
33 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
36 |
|
to take 'inherit' and 'important' into account. |
37 |
|
|
38 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
41 |
|
leading | ! |s in the priority part were removed (now they |
42 |
|
are added by |css_text| attribute implementation). |
43 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
44 |
|
fixed. |
45 |
|
|
46 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
49 |
|
($generic_font_keywords): Typo fixed. |
50 |
|
|
51 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
* Parser.pm: Return value of |serialize_multiple| methods |
* Parser.pm: Return value of |serialize_multiple| methods |
54 |
are changed. |
are changed. |
55 |
('margin' serialize_multiple, 'padding' serialize_multiple): |
('margin' serialize_multiple, 'padding' serialize_multiple): |