1 |
wakaba |
1.56 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
wakaba |
1.59 |
* Cascade.pm (get_cascaded_value): No longer have to test |
4 |
|
|
whether priority is defined. |
5 |
|
|
|
6 |
|
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
7 |
|
|
if no priority was specified. |
8 |
|
|
|
9 |
|
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
|
11 |
wakaba |
1.58 |
* Parser.pm (serialize, serialize_multiple): Return an empty |
12 |
|
|
string (not undef) if the property has no assigned value. |
13 |
|
|
|
14 |
|
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
|
16 |
wakaba |
1.57 |
* Parser.pm (parse_char_string): Namespace support is revised so |
17 |
|
|
that more Gecko-like namespace serialization can be implemented. |
18 |
|
|
|
19 |
|
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
20 |
|
|
Now it does almost same as what Gecko does for namespace |
21 |
|
|
tratements, what Gecko does for universal selector omittion, and what |
22 |
|
|
Opera does for ordering (i.e. no sorting). Only one COLON |
23 |
|
|
for pseudo-elements since Gecko and Opera do so. |
24 |
|
|
|
25 |
|
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
|
27 |
wakaba |
1.56 |
* SelectorsSerializer.pm (serialize_selector_text): New method. |
28 |
|
|
|
29 |
wakaba |
1.52 |
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
|
31 |
wakaba |
1.55 |
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
32 |
|
|
|
33 |
|
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
|
35 |
wakaba |
1.54 |
* Parser.pm: 'font' is implemented. |
36 |
|
|
|
37 |
|
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
|
39 |
wakaba |
1.53 |
* Parser.pm: 'background' is implemented. |
40 |
|
|
|
41 |
|
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
|
43 |
wakaba |
1.52 |
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
44 |
|
|
'border-left', and 'outline' are implemented. White space characters |
45 |
wakaba |
1.53 |
were not allowed between property name and COLON. NUMBER and |
46 |
|
|
DIMENSION are not allowed as color in quirks mode. |
47 |
wakaba |
1.52 |
|
48 |
wakaba |
1.48 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
|
50 |
wakaba |
1.51 |
* Cascade.pm: The object now has new device-dependent |
51 |
|
|
parameter, |has_invert|. |
52 |
|
|
|
53 |
|
|
* Parser.pm: The object now has new device-dependent |
54 |
|
|
parameter, |clip_color| function. |
55 |
|
|
(parse_char_string): Inifinite-loop fixed for ignoring |
56 |
|
|
states. No longer check for '(' and '[' matchings for |
57 |
|
|
compatibility with browsers. |
58 |
|
|
($default_serializer): Support for 'RGBA' data type. |
59 |
|
|
(color): Reimplemented. |
60 |
|
|
(backbround-color, border-top-color, border-right-color, |
61 |
|
|
border-bottom-color, border-left-color, outline-color): Implemented. |
62 |
|
|
|
63 |
|
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
|
65 |
wakaba |
1.50 |
* Parser.pm (background-position, background-position-x, |
66 |
|
|
background-position-y): Implemented. |
67 |
|
|
|
68 |
|
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
|
70 |
wakaba |
1.49 |
* Parser.pm (border-spacing serialize_multiple): Implemented. |
71 |
|
|
|
72 |
|
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
|
74 |
wakaba |
1.48 |
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
75 |
|
|
(border-width serialize): Was incorrect. |
76 |
|
|
|
77 |
|
|
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
|
79 |
|
|
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
80 |
|
|
border-spacing): Implemented. |
81 |
|
|
|
82 |
wakaba |
1.46 |
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
|
84 |
wakaba |
1.47 |
* Parser.pm (letter-spacing, word-specing, text-indent, |
85 |
|
|
outline-width): Implemented. |
86 |
|
|
(outline-style): Don't allow 'hidden'. |
87 |
|
|
|
88 |
|
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
|
90 |
wakaba |
1.46 |
* Parser.pm ($default_serializer): Support for |
91 |
|
|
the |PERCENTAGE| data type. |
92 |
|
|
(padding-top, border-top-width): The parser now |
93 |
|
|
refers the parser of the 'margin-top'. |
94 |
|
|
(width, height, min-width, min-height, max-width, max-height, |
95 |
|
|
vertical-align, line-height): Implemented. |
96 |
|
|
|
97 |
wakaba |
1.42 |
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
|
99 |
wakaba |
1.45 |
* Cascade.pm (get_specified_value_no_inherit): New function. |
100 |
|
|
(get_computed_value): New way to get computed value, |
101 |
|
|
the |{compute_multiple}| code, is now supported. |
102 |
|
|
|
103 |
|
|
* Parser.pm (top, bottom, left, right): Implemented. |
104 |
|
|
|
105 |
|
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
|
107 |
wakaba |
1.44 |
* Parser.pm: Some condition operators were incorrect. |
108 |
|
|
The 'border-width' property family is implemented. |
109 |
|
|
|
110 |
|
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
|
112 |
wakaba |
1.43 |
* Parser.pm: Support for the 'margin' and 'padding' |
113 |
|
|
property families. |
114 |
|
|
|
115 |
|
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
116 |
|
|
|
117 |
wakaba |
1.42 |
* Parser.pm: 'font-size' support. |
118 |
|
|
|
119 |
|
|
* Cascade.pm (new): Set default value for 'font-size' |
120 |
|
|
relative- and absolute- value computations. |
121 |
|
|
|
122 |
wakaba |
1.38 |
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
|
124 |
wakaba |
1.41 |
* Cascade.pm (get_cascaded_value): "*"-only declaration blocks |
125 |
|
|
were ignored. |
126 |
|
|
|
127 |
|
|
* Parser.pm (cursor): Implemented. |
128 |
|
|
|
129 |
|
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
|
131 |
wakaba |
1.40 |
* Parser.pm (text-align, text-transform, white-space, |
132 |
|
|
caption-side, table-layout, border-collapse, empty-cells, |
133 |
|
|
outline-style, text-decoration): Implemented. |
134 |
|
|
|
135 |
|
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
136 |
|
|
|
137 |
wakaba |
1.39 |
* Cascade.pm (get_computed_value): Even when |inherit| is specified |
138 |
|
|
the value is resolved into the computed value by the |{compute}| |
139 |
|
|
code to support edge cases not mentioned in the CSS 2.1 spec (see |
140 |
|
|
<http://suika.fam.cx/gate/2005/sw/inherit>). |
141 |
|
|
|
142 |
|
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
|
144 |
wakaba |
1.38 |
* Cascade.pm (get_computed_value): Resolve initial value referred |
145 |
|
|
when |inherit| is specified as if it were the specified value. |
146 |
|
|
|
147 |
|
|
* Parser.pm: Some properties were incorrectly marked as |
148 |
|
|
inherited. |
149 |
|
|
(background-repeat, background-attachment, font-style, |
150 |
|
|
font-variant, font-weight, background-image, font-family): Implemented. |
151 |
|
|
|
152 |
wakaba |
1.31 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
|
154 |
wakaba |
1.37 |
* Parser.pm: Give |list-style-image|'s compute function a name. |
155 |
|
|
|
156 |
|
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
|
158 |
wakaba |
1.36 |
* Parser.pm: Give |list-style-image|'s parser a name. Bug fix |
159 |
|
|
on base URI scalar reference. |
160 |
|
|
|
161 |
|
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
|
163 |
wakaba |
1.35 |
* Parser.pm (page-break-before, page-break-after, page-break-inside, |
164 |
|
|
orphans, widows, list-style): Added. |
165 |
|
|
(z-index): Support for negative values. |
166 |
|
|
|
167 |
|
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
|
169 |
wakaba |
1.34 |
* Parser.pm: Set |manakai_base_uri| attribute of the |
170 |
|
|
created |CSSStyleSheet| object. |
171 |
|
|
More properties from CSS 2.1 are implemented. |
172 |
|
|
|
173 |
|
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
|
175 |
wakaba |
1.33 |
* Cascade.pm: The |use strict| line was missing!!!!!!!!!11 |
176 |
|
|
(get_computed_value): Support for the |inherit| value. |
177 |
|
|
|
178 |
|
|
* Parser.pm: The |inherit| value is represented by new |INHERIT| |
179 |
|
|
value type, rather than |KEYWORD|. |
180 |
|
|
(position): The initial value was incorrect. |
181 |
|
|
|
182 |
|
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
|
184 |
wakaba |
1.32 |
* Cascade.pm (get_cascaded_value): It now should return |undef| |
185 |
|
|
for shorthand properties. |
186 |
|
|
(get_specified_value, get_computed_value): New methods. |
187 |
|
|
|
188 |
|
|
* Parser.pm: |initial|, |inherited|, and |compute| properties |
189 |
|
|
are added to property definitions. |
190 |
|
|
|
191 |
|
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
|
193 |
wakaba |
1.31 |
* Cascade.pm: Specificity and priority are now supported. |
194 |
|
|
|
195 |
|
|
* Parser.pm (get_selector_specificity): New method. |
196 |
|
|
|
197 |
wakaba |
1.27 |
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
|
199 |
wakaba |
1.30 |
* Cascade.pm: New Perl module. |
200 |
|
|
|
201 |
|
|
* Parser.pm: |@namespace| prohibbitted immediately |
202 |
|
|
following |@namespace| rules by mistake. |
203 |
|
|
|
204 |
|
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
|
206 |
wakaba |
1.29 |
* Parser.pm: Support for border-style properties, as a model case |
207 |
|
|
for shorthand properties. |
208 |
|
|
|
209 |
|
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
210 |
|
|
|
211 |
wakaba |
1.28 |
* Parser.pm: Ignore property which is not supported by the |
212 |
|
|
application. Support for properties with a keyword being |
213 |
|
|
able to be specified is added. |
214 |
|
|
|
215 |
|
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
216 |
|
|
|
217 |
wakaba |
1.27 |
* Parser.pm: At-keywords were not case-insensitive. |
218 |
|
|
Support for property value parsing. Empty declarations |
219 |
|
|
were not supported. Raise errors for broken declarations. |
220 |
|
|
Parser and serializer definition for |color| is added. |
221 |
|
|
|
222 |
wakaba |
1.26 |
2007-12-24 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
|
224 |
|
|
* Parser.pm: Support for |@namespace| rule. |
225 |
|
|
|
226 |
|
|
* SelectorsSerializer.pm: Support for |lookup_namespace_prefix| |
227 |
|
|
parameter is added. |
228 |
|
|
|
229 |
wakaba |
1.23 |
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
230 |
|
|
|
231 |
wakaba |
1.25 |
* Parser.pm: Support for the |@charset| rule. |
232 |
|
|
|
233 |
|
|
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
|
235 |
wakaba |
1.24 |
* Parser.pm (parse_char_string): A poor support for error |
236 |
|
|
line/column reporting is added. Support for pseudo-element |
237 |
|
|
and pseudo-class. |
238 |
|
|
|
239 |
|
|
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
|
241 |
wakaba |
1.23 |
* Parser.pm: New module. |
242 |
|
|
|
243 |
|
|
* SelectorsParser.pm (parse_string): Split into |parse_string| |
244 |
|
|
and |_parse_selectors_with_tokenizer|. Support for "end by |
245 |
|
|
token T" option. Return the last token as well as the |
246 |
|
|
parsed selectors pbject. |
247 |
|
|
|
248 |
wakaba |
1.22 |
2007-11-24 Wakaba <wakaba@suika.fam.cx> |
249 |
|
|
|
250 |
|
|
* SelectorsParser.pm (parse_string): Raise errors if appropriate. |
251 |
|
|
|
252 |
wakaba |
1.21 |
2007-10-28 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
|
254 |
|
|
* SelectorsSerializer.pm (serialize_test): Namespace prefix |
255 |
|
|
IS namespace URI for sorting stability (attribute and :not() |
256 |
|
|
selectors). |
257 |
|
|
|
258 |
|
|
* selectors-object.en.html: Namespace URI cannot be empty. |
259 |
|
|
|
260 |
wakaba |
1.20 |
2007-10-22 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
|
262 |
|
|
* SelectorsSerializer.pm ($ident): Non-ascii name start |
263 |
|
|
characters after leading |-| was escaped. An IDENT |
264 |
|
|
of |-| was not escaped. |
265 |
|
|
|
266 |
wakaba |
1.18 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
|
268 |
wakaba |
1.19 |
* selectors-object.en.html: New documentation. |
269 |
|
|
|
270 |
|
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
271 |
|
|
|
272 |
wakaba |
1.18 |
* SelectorsParser.pod, Makefile: New files. |
273 |
|
|
|
274 |
wakaba |
1.16 |
2007-10-07 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
|
276 |
wakaba |
1.17 |
* SelectorsParser.pm (parse_string): An |IDENT| |
277 |
|
|
can be specified as the argument for |-manakai-contains|, |
278 |
|
|
as defined in Selectors CR (2001). |
279 |
|
|
|
280 |
|
|
2007-10-07 Wakaba <wakaba@suika.fam.cx> |
281 |
|
|
|
282 |
wakaba |
1.16 |
* SelectorsParser.pm (BEFORE_CONTAINS_STRING_STATE): New state. |
283 |
|
|
(parse_string): Support for |-manakai-current| |
284 |
|
|
and |-manakai-contains| pseudo-classes. |
285 |
|
|
|
286 |
|
|
* SelectorsSerializer.pm: Support for |-manakai-current| |
287 |
|
|
and |-manakai-contains| pseudo-classes. |
288 |
|
|
|
289 |
wakaba |
1.15 |
2007-09-30 Wakaba <wakaba@suika.fam.cx> |
290 |
|
|
|
291 |
|
|
* Tokenizer.pm: |\\{nl}| incorrectly appended |{nl}| to |
292 |
|
|
the string value of the token. |
293 |
wakaba |
1.16 |
|
294 |
|
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
295 |
|
|
|
296 |
|
|
* SelectorsParser.pm: Pass an empty string as a prefix |
297 |
|
|
for lookup namespace prefix callback, for loose compatibility |
298 |
|
|
with the |NSResolver| interface. |
299 |
wakaba |
1.15 |
|
300 |
wakaba |
1.14 |
2007-09-22 Wakaba <wakaba@suika.fam.cx> |
301 |
|
|
|
302 |
|
|
* SelectorsParser.pm, SelectorsSerializer.pm: New Perl modules. |
303 |
|
|
|
304 |
|
|
* Tokenizer.pm: Token type constants are exportable. |
305 |
|
|
|
306 |
wakaba |
1.12 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
|
308 |
wakaba |
1.13 |
* Tokenizer.pm: Delimiters frequently used in CSS |
309 |
|
|
now have different |type|s than |DELIM_TOKEN|. |
310 |
|
|
|
311 |
|
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
312 |
|
|
|
313 |
wakaba |
1.12 |
* Tokenizer.pm: |UNICODE_RANGE| token's |value| no longer |
314 |
|
|
includes |U+| prefix. |
315 |
|
|
|
316 |
wakaba |
1.3 |
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
|
318 |
wakaba |
1.11 |
* Tokenizer.pm: |URI| bugs are fixed. |
319 |
|
|
|
320 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
|
322 |
wakaba |
1.10 |
* Tokenizer.pm: |DIMENSION| and |NUMBER| related |
323 |
|
|
bugs are fixed. |
324 |
|
|
|
325 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
326 |
|
|
|
327 |
wakaba |
1.9 |
* Tokenizer.pm: |NUMBER|-related bugs are fixed. |
328 |
|
|
|
329 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
|
331 |
wakaba |
1.8 |
* Tokenizer.pm: |STRING|-related bugs are fixed. |
332 |
|
|
|
333 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
|
335 |
wakaba |
1.7 |
* Tokenizer.pm: Bug fixes. |
336 |
|
|
|
337 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
338 |
|
|
|
339 |
wakaba |
1.6 |
* Tokenizer.pm: |UNICODE-RANGE| is implemented. |
340 |
|
|
|
341 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
342 |
|
|
|
343 |
wakaba |
1.5 |
* Tokenizer.pm: |COMMENT| is implemented. |
344 |
|
|
A bug for treatement for |@-->| is fixed. |
345 |
|
|
|
346 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
347 |
|
|
|
348 |
wakaba |
1.4 |
* Tokenizer.pm: |url()| and |url-prefix()| are implemented. |
349 |
|
|
Bug for treatement for |@-| is fixed. |
350 |
|
|
|
351 |
|
|
2007-09-08 Wakaba <wakaba@suika.fam.cx> |
352 |
|
|
|
353 |
wakaba |
1.3 |
* Tokenizer.pm: First working version. |
354 |
|
|
|
355 |
wakaba |
1.2 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
356 |
|
|
|
357 |
|
|
* Tokenizer.pm: New module. |
358 |
|
|
|
359 |
|
|
* ChangeLog: New file. |
360 |
|
|
|