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