1 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm ('letter-spacing' parse): Support for '+'. |
4 |
|
('border-spacing' serialize_multiple): Revised taking into |
5 |
|
account 'import' and 'inherit'. |
6 |
|
('border-spacing' parse): Support for '+'. |
7 |
|
|
8 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
11 |
|
convertion was wrong. |
12 |
|
('orphans', 'background-position' parse): Support for '+'. |
13 |
|
|
14 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
16 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
17 |
|
for '+'. |
18 |
|
('margin-top' parse): Fixed to report more accureate error |
19 |
|
position. |
20 |
|
('right'): Negative values and 'auto' were not supported. |
21 |
|
|
22 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
25 |
|
|
26 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
27 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
28 |
|
|
29 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
32 |
|
report more accurate error position. Enabled the |
33 |
|
support for '-webkit-xxx-large'. |
34 |
|
('font' parse): Support for '+' in <'font-weight'> |
35 |
|
and <'font-size'>. |
36 |
|
|
37 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
40 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
41 |
|
and 'important' into account. |
42 |
|
('background' parse): Support for '+'. Correct initial value |
43 |
|
for 'background-position-y' was not set in some cases. |
44 |
|
Wrong value was set to 'background-position-x' in some case. |
45 |
|
Did not return by some syntax errors. |
46 |
|
|
47 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
50 |
|
|
51 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
52 |
|
argument to the |get_char| function. |
53 |
|
|
54 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
57 |
|
to take 'inherit' and 'important' into account. |
58 |
|
|
59 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
62 |
|
leading | ! |s in the priority part were removed (now they |
63 |
|
are added by |css_text| attribute implementation). |
64 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
65 |
|
fixed. |
66 |
|
|
67 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
70 |
|
($generic_font_keywords): Typo fixed. |
71 |
|
|
72 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
75 |
|
are changed. |
76 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
77 |
|
Implemented. |
78 |
|
('border-style' serialize_shorthand, 'border-color' |
79 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
80 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
81 |
|
'border-bottom' serialize_shorthand, 'border-right' |
82 |
|
serialize_shorthand): New. |
83 |
|
|
84 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
87 |
|
duplicate declarations was incorrect. |
88 |
|
(margin): Use 'margin' shorthand property for serializing |
89 |
|
margin-related properties if possible. Support for the |+| |
90 |
|
sign in <'margin'> is added. |
91 |
|
|
92 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
95 |
|
similar properties. |
96 |
|
|
97 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
100 |
|
to the standard error output) is defined. |
101 |
|
(parse_char_string {get_char}): Set the next number to the |
102 |
|
column number of the last character as the column of the |
103 |
|
end of file pseudo-character. |
104 |
|
|
105 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
108 |
|
|
109 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
110 |
|
|
111 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
112 |
|
to all the onerror invocations. The |{onerror}| function |
113 |
|
is no longer called with |{line}| and |{column}| parameters. |
114 |
|
|
115 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
116 |
|
values. |
117 |
|
|
118 |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |