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> |
89 |
|
|
90 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
91 |
|
to all the onerror invocations. The |{onerror}| function |
92 |
|
is no longer called with |{line}| and |{column}| parameters. |
93 |
|
|
94 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
95 |
|
values. |
96 |
|
|
97 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
100 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
101 |
|
error handler calling codes are modified for the experimental |
102 |
|
support for more precious reporting of error location. |
103 |
|
|
104 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
105 |
|
it was never used. |
106 |
|
(get_next_token): Limited and experimental support for token |
107 |
|
emittion with the information on the position where it occurs. |
108 |
|
(serialize_token): New function. |
109 |
|
|
110 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
113 |
|
|
114 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
117 |
|
whether priority is defined. |
118 |
|
|
119 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
120 |
|
if no priority was specified. |
121 |
|
|
122 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
125 |
|
string (not undef) if the property has no assigned value. |
126 |
|
|
127 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
130 |
|
that more Gecko-like namespace serialization can be implemented. |
131 |
|
|
132 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
133 |
|
Now it does almost same as what Gecko does for namespace |
134 |
|
tratements, what Gecko does for universal selector omittion, and what |
135 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
136 |
|
for pseudo-elements since Gecko and Opera do so. |
137 |
|
|
138 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
139 |
|
|
140 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
141 |
|
|
142 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
145 |
|
|
146 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* Parser.pm: 'font' is implemented. |
149 |
|
|
150 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* Parser.pm: 'background' is implemented. |
153 |
|
|
154 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
157 |
|
'border-left', and 'outline' are implemented. White space characters |
158 |
|
were not allowed between property name and COLON. NUMBER and |
159 |
|
DIMENSION are not allowed as color in quirks mode. |
160 |
|
|
161 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* Cascade.pm: The object now has new device-dependent |
164 |
|
parameter, |has_invert|. |
165 |
|
|
166 |
|
* Parser.pm: The object now has new device-dependent |
167 |
|
parameter, |clip_color| function. |
168 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
169 |
|
states. No longer check for '(' and '[' matchings for |
170 |
|
compatibility with browsers. |
171 |
|
($default_serializer): Support for 'RGBA' data type. |
172 |
|
(color): Reimplemented. |
173 |
|
(backbround-color, border-top-color, border-right-color, |
174 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
175 |
|
|
176 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* Parser.pm (background-position, background-position-x, |
179 |
|
background-position-y): Implemented. |
180 |
|
|
181 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* Parser.pm (border-spacing serialize_multiple): Implemented. |
184 |
|
|
185 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
187 |
|
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
188 |
|
(border-width serialize): Was incorrect. |
189 |
|
|
190 |
|
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
191 |
|
|
192 |
|
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
193 |
|
border-spacing): Implemented. |
194 |
|
|
195 |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
* Parser.pm (letter-spacing, word-specing, text-indent, |
* Parser.pm (letter-spacing, word-specing, text-indent, |