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