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