/[suikacvs]/markup/html/whatpm/Whatpm/CSS/ChangeLog
Suika

Contents of /markup/html/whatpm/Whatpm/CSS/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.74 - (show annotations) (download)
Sat Jan 26 14:48:09 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.73: +7 -0 lines
++ whatpm/t/ChangeLog	26 Jan 2008 14:46:58 -0000
	* css-font.dat: New test data for 'font-weight'
	and 'font-size' are added.

	* css-visual.dat: New test data for leading and
	trailing zeros are added.

2008-01-26  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/CSS/ChangeLog	26 Jan 2008 14:46:14 -0000
	* Parser.pm ('font-weight' parser): Support for '+'.

	* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|,
	|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|.

2008-01-26  Wakaba  <wakaba@suika.fam.cx>

1 2008-01-26 Wakaba <wakaba@suika.fam.cx>
2
3 * Parser.pm ('font-weight' parser): Support for '+'.
4
5 * Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|,
6 |PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|.
7
8 2008-01-26 Wakaba <wakaba@suika.fam.cx>
9
10 * Parser.pm ('font-size' parser): Support for '+'. Fixed to
11 report more accurate error position. Enabled the
12 support for '-webkit-xxx-large'.
13 ('font' parse): Support for '+' in <'font-weight'>
14 and <'font-size'>.
15
16 2008-01-26 Wakaba <wakaba@suika.fam.cx>
17
18 * Parser.pm ('background' serialize_multiple, 'background-position'
19 serialize_shorthand): Reimplemented taking 'inherit'
20 and 'important' into account.
21 ('background' parse): Support for '+'. Correct initial value
22 for 'background-position-y' was not set in some cases.
23 Wrong value was set to 'background-position-x' in some case.
24 Did not return by some syntax errors.
25
26 2008-01-26 Wakaba <wakaba@suika.fam.cx>
27
28 * Parser.pm (get_char): Use argument to avoid self reference.
29
30 * Tokenizer.pm: Set the tokenizer itself as the first
31 argument to the |get_char| function.
32
33 2008-01-26 Wakaba <wakaba@suika.fam.cx>
34
35 * Parser.pm ('border' serialize_multiple): Reimplement
36 to take 'inherit' and 'important' into account.
37
38 2008-01-26 Wakaba <wakaba@suika.fam.cx>
39
40 * Parser.pm (serialize_shorthand, serialize_multiple): The
41 leading | ! |s in the priority part were removed (now they
42 are added by |css_text| attribute implementation).
43 (border-width, border-style, border-color serialize_shorthand): Typo
44 fixed.
45
46 2008-01-26 Wakaba <wakaba@suika.fam.cx>
47
48 * Parser.pm (font serialize_shorthand): Implemented.
49 ($generic_font_keywords): Typo fixed.
50
51 2008-01-26 Wakaba <wakaba@suika.fam.cx>
52
53 * Parser.pm: Return value of |serialize_multiple| methods
54 are changed.
55 ('margin' serialize_multiple, 'padding' serialize_multiple):
56 Implemented.
57 ('border-style' serialize_shorthand, 'border-color'
58 serialize_shorthand, 'border-width' serialize_shorthand,
59 'border-left' serialize_shorthand, 'border-top' serialize_shorthand,
60 'border-bottom' serialize_shorthand, 'border-right'
61 serialize_shorthand): New.
62
63 2008-01-24 Wakaba <wakaba@suika.fam.cx>
64
65 * Parser.pm (parse_char_string): Treatement for non-important
66 duplicate declarations was incorrect.
67 (margin): Use 'margin' shorthand property for serializing
68 margin-related properties if possible. Support for the |+|
69 sign in <'margin'> is added.
70
71 2008-01-24 Wakaba <wakaba@suika.fam.cx>
72
73 * Parser.pm: Support for the |+| sign in 'margin-top' and
74 similar properties.
75
76 2008-01-22 Wakaba <wakaba@suika.fam.cx>
77
78 * Parser.pm (new {onerror}): The default error handler (outputting
79 to the standard error output) is defined.
80 (parse_char_string {get_char}): Set the next number to the
81 column number of the last character as the column of the
82 end of file pseudo-character.
83
84 2008-01-20 Wakaba <wakaba@suika.fam.cx>
85
86 * Parser.pm, SelectorsParser.pm: Error type strings are revised.
87
88 2008-01-20 Wakaba <wakaba@suika.fam.cx>
89
90 * Parser.pm, SelectorsParser.pm: |{href}| parameter added
91 to all the onerror invocations. The |{onerror}| function
92 is no longer called with |{line}| and |{column}| parameters.
93
94 * Tokenizer.pm: All token are now given |{line}| and |{column}|
95 values.
96
97 2008-01-20 Wakaba <wakaba@suika.fam.cx>
98
99 * Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback
100 so that it sets |$tt->{line}| and |$tt->{column}| options. Some
101 error handler calling codes are modified for the experimental
102 support for more precious reporting of error location.
103
104 * Tokenizer.pm (new): The |onerror| option has been removed, since
105 it was never used.
106 (get_next_token): Limited and experimental support for token
107 emittion with the information on the position where it occurs.
108 (serialize_token): New function.
109
110 2008-01-14 Wakaba <wakaba@suika.fam.cx>
111
112 * Parser.pm (-moz-opacity): DOM attribute name was wrong.
113
114 2008-01-14 Wakaba <wakaba@suika.fam.cx>
115
116 * Cascade.pm (get_cascaded_value): No longer have to test
117 whether priority is defined.
118
119 * Parser.pm (parse_char_string): Set an empty string as the priority
120 if no priority was specified.
121
122 2008-01-14 Wakaba <wakaba@suika.fam.cx>
123
124 * Parser.pm (serialize, serialize_multiple): Return an empty
125 string (not undef) if the property has no assigned value.
126
127 2008-01-14 Wakaba <wakaba@suika.fam.cx>
128
129 * Parser.pm (parse_char_string): Namespace support is revised so
130 that more Gecko-like namespace serialization can be implemented.
131
132 * SelectorsSerializer.pm (serialize_selector_text): Revised.
133 Now it does almost same as what Gecko does for namespace
134 tratements, what Gecko does for universal selector omittion, and what
135 Opera does for ordering (i.e. no sorting). Only one COLON
136 for pseudo-elements since Gecko and Opera do so.
137
138 2008-01-14 Wakaba <wakaba@suika.fam.cx>
139
140 * SelectorsSerializer.pm (serialize_selector_text): New method.
141
142 2008-01-12 Wakaba <wakaba@suika.fam.cx>
143
144 * Parser.pm: 'opacity' and '-moz-opacity' are implemented.
145
146 2008-01-12 Wakaba <wakaba@suika.fam.cx>
147
148 * Parser.pm: 'font' is implemented.
149
150 2008-01-12 Wakaba <wakaba@suika.fam.cx>
151
152 * Parser.pm: 'background' is implemented.
153
154 2008-01-12 Wakaba <wakaba@suika.fam.cx>
155
156 * Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom',
157 'border-left', and 'outline' are implemented. White space characters
158 were not allowed between property name and COLON. NUMBER and
159 DIMENSION are not allowed as color in quirks mode.
160
161 2008-01-06 Wakaba <wakaba@suika.fam.cx>
162
163 * Cascade.pm: The object now has new device-dependent
164 parameter, |has_invert|.
165
166 * Parser.pm: The object now has new device-dependent
167 parameter, |clip_color| function.
168 (parse_char_string): Inifinite-loop fixed for ignoring
169 states. No longer check for '(' and '[' matchings for
170 compatibility with browsers.
171 ($default_serializer): Support for 'RGBA' data type.
172 (color): Reimplemented.
173 (backbround-color, border-top-color, border-right-color,
174 border-bottom-color, border-left-color, outline-color): Implemented.
175
176 2008-01-06 Wakaba <wakaba@suika.fam.cx>
177
178 * Parser.pm (background-position, background-position-x,
179 background-position-y): Implemented.
180
181 2008-01-06 Wakaba <wakaba@suika.fam.cx>
182
183 * Parser.pm (border-spacing serialize_multiple): Implemented.
184
185 2008-01-06 Wakaba <wakaba@suika.fam.cx>
186
187 * Parser.pm: Disallow '-' without following NUMBER or DIMENSION.
188 (border-width serialize): Was incorrect.
189
190 2008-01-05 Wakaba <wakaba@suika.fam.cx>
191
192 * Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y,
193 border-spacing): Implemented.
194
195 2008-01-04 Wakaba <wakaba@suika.fam.cx>
196
197 * Parser.pm (letter-spacing, word-specing, text-indent,
198 outline-width): Implemented.
199 (outline-style): Don't allow 'hidden'.
200
201 2008-01-04 Wakaba <wakaba@suika.fam.cx>
202
203 * Parser.pm ($default_serializer): Support for
204 the |PERCENTAGE| data type.
205 (padding-top, border-top-width): The parser now
206 refers the parser of the 'margin-top'.
207 (width, height, min-width, min-height, max-width, max-height,
208 vertical-align, line-height): Implemented.
209
210 2008-01-03 Wakaba <wakaba@suika.fam.cx>
211
212 * Cascade.pm (get_specified_value_no_inherit): New function.
213 (get_computed_value): New way to get computed value,
214 the |{compute_multiple}| code, is now supported.
215
216 * Parser.pm (top, bottom, left, right): Implemented.
217
218 2008-01-03 Wakaba <wakaba@suika.fam.cx>
219
220 * Parser.pm: Some condition operators were incorrect.
221 The 'border-width' property family is implemented.
222
223 2008-01-03 Wakaba <wakaba@suika.fam.cx>
224
225 * Parser.pm: Support for the 'margin' and 'padding'
226 property families.
227
228 2008-01-03 Wakaba <wakaba@suika.fam.cx>
229
230 * Parser.pm: 'font-size' support.
231
232 * Cascade.pm (new): Set default value for 'font-size'
233 relative- and absolute- value computations.
234
235 2008-01-02 Wakaba <wakaba@suika.fam.cx>
236
237 * Cascade.pm (get_cascaded_value): "*"-only declaration blocks
238 were ignored.
239
240 * Parser.pm (cursor): Implemented.
241
242 2008-01-02 Wakaba <wakaba@suika.fam.cx>
243
244 * Parser.pm (text-align, text-transform, white-space,
245 caption-side, table-layout, border-collapse, empty-cells,
246 outline-style, text-decoration): Implemented.
247
248 2008-01-02 Wakaba <wakaba@suika.fam.cx>
249
250 * Cascade.pm (get_computed_value): Even when |inherit| is specified
251 the value is resolved into the computed value by the |{compute}|
252 code to support edge cases not mentioned in the CSS 2.1 spec (see
253 <http://suika.fam.cx/gate/2005/sw/inherit>).
254
255 2008-01-02 Wakaba <wakaba@suika.fam.cx>
256
257 * Cascade.pm (get_computed_value): Resolve initial value referred
258 when |inherit| is specified as if it were the specified value.
259
260 * Parser.pm: Some properties were incorrectly marked as
261 inherited.
262 (background-repeat, background-attachment, font-style,
263 font-variant, font-weight, background-image, font-family): Implemented.
264
265 2008-01-01 Wakaba <wakaba@suika.fam.cx>
266
267 * Parser.pm: Give |list-style-image|'s compute function a name.
268
269 2008-01-01 Wakaba <wakaba@suika.fam.cx>
270
271 * Parser.pm: Give |list-style-image|'s parser a name. Bug fix
272 on base URI scalar reference.
273
274 2008-01-01 Wakaba <wakaba@suika.fam.cx>
275
276 * Parser.pm (page-break-before, page-break-after, page-break-inside,
277 orphans, widows, list-style): Added.
278 (z-index): Support for negative values.
279
280 2008-01-01 Wakaba <wakaba@suika.fam.cx>
281
282 * Parser.pm: Set |manakai_base_uri| attribute of the
283 created |CSSStyleSheet| object.
284 More properties from CSS 2.1 are implemented.
285
286 2008-01-01 Wakaba <wakaba@suika.fam.cx>
287
288 * Cascade.pm: The |use strict| line was missing!!!!!!!!!11
289 (get_computed_value): Support for the |inherit| value.
290
291 * Parser.pm: The |inherit| value is represented by new |INHERIT|
292 value type, rather than |KEYWORD|.
293 (position): The initial value was incorrect.
294
295 2008-01-01 Wakaba <wakaba@suika.fam.cx>
296
297 * Cascade.pm (get_cascaded_value): It now should return |undef|
298 for shorthand properties.
299 (get_specified_value, get_computed_value): New methods.
300
301 * Parser.pm: |initial|, |inherited|, and |compute| properties
302 are added to property definitions.
303
304 2008-01-01 Wakaba <wakaba@suika.fam.cx>
305
306 * Cascade.pm: Specificity and priority are now supported.
307
308 * Parser.pm (get_selector_specificity): New method.
309
310 2007-12-31 Wakaba <wakaba@suika.fam.cx>
311
312 * Cascade.pm: New Perl module.
313
314 * Parser.pm: |@namespace| prohibbitted immediately
315 following |@namespace| rules by mistake.
316
317 2007-12-31 Wakaba <wakaba@suika.fam.cx>
318
319 * Parser.pm: Support for border-style properties, as a model case
320 for shorthand properties.
321
322 2007-12-31 Wakaba <wakaba@suika.fam.cx>
323
324 * Parser.pm: Ignore property which is not supported by the
325 application. Support for properties with a keyword being
326 able to be specified is added.
327
328 2007-12-31 Wakaba <wakaba@suika.fam.cx>
329
330 * Parser.pm: At-keywords were not case-insensitive.
331 Support for property value parsing. Empty declarations
332 were not supported. Raise errors for broken declarations.
333 Parser and serializer definition for |color| is added.
334
335 2007-12-24 Wakaba <wakaba@suika.fam.cx>
336
337 * Parser.pm: Support for |@namespace| rule.
338
339 * SelectorsSerializer.pm: Support for |lookup_namespace_prefix|
340 parameter is added.
341
342 2007-12-23 Wakaba <wakaba@suika.fam.cx>
343
344 * Parser.pm: Support for the |@charset| rule.
345
346 2007-12-23 Wakaba <wakaba@suika.fam.cx>
347
348 * Parser.pm (parse_char_string): A poor support for error
349 line/column reporting is added. Support for pseudo-element
350 and pseudo-class.
351
352 2007-12-23 Wakaba <wakaba@suika.fam.cx>
353
354 * Parser.pm: New module.
355
356 * SelectorsParser.pm (parse_string): Split into |parse_string|
357 and |_parse_selectors_with_tokenizer|. Support for "end by
358 token T" option. Return the last token as well as the
359 parsed selectors pbject.
360
361 2007-11-24 Wakaba <wakaba@suika.fam.cx>
362
363 * SelectorsParser.pm (parse_string): Raise errors if appropriate.
364
365 2007-10-28 Wakaba <wakaba@suika.fam.cx>
366
367 * SelectorsSerializer.pm (serialize_test): Namespace prefix
368 IS namespace URI for sorting stability (attribute and :not()
369 selectors).
370
371 * selectors-object.en.html: Namespace URI cannot be empty.
372
373 2007-10-22 Wakaba <wakaba@suika.fam.cx>
374
375 * SelectorsSerializer.pm ($ident): Non-ascii name start
376 characters after leading |-| was escaped. An IDENT
377 of |-| was not escaped.
378
379 2007-10-17 Wakaba <wakaba@suika.fam.cx>
380
381 * selectors-object.en.html: New documentation.
382
383 2007-10-17 Wakaba <wakaba@suika.fam.cx>
384
385 * SelectorsParser.pod, Makefile: New files.
386
387 2007-10-07 Wakaba <wakaba@suika.fam.cx>
388
389 * SelectorsParser.pm (parse_string): An |IDENT|
390 can be specified as the argument for |-manakai-contains|,
391 as defined in Selectors CR (2001).
392
393 2007-10-07 Wakaba <wakaba@suika.fam.cx>
394
395 * SelectorsParser.pm (BEFORE_CONTAINS_STRING_STATE): New state.
396 (parse_string): Support for |-manakai-current|
397 and |-manakai-contains| pseudo-classes.
398
399 * SelectorsSerializer.pm: Support for |-manakai-current|
400 and |-manakai-contains| pseudo-classes.
401
402 2007-09-30 Wakaba <wakaba@suika.fam.cx>
403
404 * Tokenizer.pm: |\\{nl}| incorrectly appended |{nl}| to
405 the string value of the token.
406
407 2007-09-24 Wakaba <wakaba@suika.fam.cx>
408
409 * SelectorsParser.pm: Pass an empty string as a prefix
410 for lookup namespace prefix callback, for loose compatibility
411 with the |NSResolver| interface.
412
413 2007-09-22 Wakaba <wakaba@suika.fam.cx>
414
415 * SelectorsParser.pm, SelectorsSerializer.pm: New Perl modules.
416
417 * Tokenizer.pm: Token type constants are exportable.
418
419 2007-09-09 Wakaba <wakaba@suika.fam.cx>
420
421 * Tokenizer.pm: Delimiters frequently used in CSS
422 now have different |type|s than |DELIM_TOKEN|.
423
424 2007-09-09 Wakaba <wakaba@suika.fam.cx>
425
426 * Tokenizer.pm: |UNICODE_RANGE| token's |value| no longer
427 includes |U+| prefix.
428
429 2007-09-08 Wakaba <wakaba@suika.fam.cx>
430
431 * Tokenizer.pm: |URI| bugs are fixed.
432
433 2007-09-08 Wakaba <wakaba@suika.fam.cx>
434
435 * Tokenizer.pm: |DIMENSION| and |NUMBER| related
436 bugs are fixed.
437
438 2007-09-08 Wakaba <wakaba@suika.fam.cx>
439
440 * Tokenizer.pm: |NUMBER|-related bugs are fixed.
441
442 2007-09-08 Wakaba <wakaba@suika.fam.cx>
443
444 * Tokenizer.pm: |STRING|-related bugs are fixed.
445
446 2007-09-08 Wakaba <wakaba@suika.fam.cx>
447
448 * Tokenizer.pm: Bug fixes.
449
450 2007-09-08 Wakaba <wakaba@suika.fam.cx>
451
452 * Tokenizer.pm: |UNICODE-RANGE| is implemented.
453
454 2007-09-08 Wakaba <wakaba@suika.fam.cx>
455
456 * Tokenizer.pm: |COMMENT| is implemented.
457 A bug for treatement for |@-->| is fixed.
458
459 2007-09-08 Wakaba <wakaba@suika.fam.cx>
460
461 * Tokenizer.pm: |url()| and |url-prefix()| are implemented.
462 Bug for treatement for |@-| is fixed.
463
464 2007-09-08 Wakaba <wakaba@suika.fam.cx>
465
466 * Tokenizer.pm: First working version.
467
468 2007-08-17 Wakaba <wakaba@suika.fam.cx>
469
470 * Tokenizer.pm: New module.
471
472 * ChangeLog: New file.
473

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24