1 |
|
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 |
54 |
|
are changed. |
55 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
56 |
|
Implemented. |
57 |
|
('border-style' serialize_shorthand, 'border-color' |
58 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
59 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
60 |
|
'border-bottom' serialize_shorthand, 'border-right' |
61 |
|
serialize_shorthand): New. |
62 |
|
|
63 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
66 |
|
duplicate declarations was incorrect. |
67 |
|
(margin): Use 'margin' shorthand property for serializing |
68 |
|
margin-related properties if possible. Support for the |+| |
69 |
|
sign in <'margin'> is added. |
70 |
|
|
71 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
74 |
|
similar properties. |
75 |
|
|
76 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
79 |
|
to the standard error output) is defined. |
80 |
|
(parse_char_string {get_char}): Set the next number to the |
81 |
|
column number of the last character as the column of the |
82 |
|
end of file pseudo-character. |
83 |
|
|
84 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
87 |
|
|
88 |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |