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