/[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.77 - (hide annotations) (download)
Sun Jan 27 08:09:11 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.76: +7 -0 lines
++ whatpm/t/ChangeLog	27 Jan 2008 08:09:01 -0000
	* CSS-Parser-1.t: Files |css-table.dat| and |css-interactive.dat|
	are added.

	* css-table.dat: New test file.

	* css-interactive.dat: New test file.

	* css-font.dat: New test data for 'font-size' are added.

	* css-text.dat: New test data for 'text-indent', 'letter-spacing',
	and 'word-spacing' are added.

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

++ whatpm/Whatpm/CSS/ChangeLog	27 Jan 2008 08:07:41 -0000
	* Parser.pm ('letter-spacing' parse): Support for '+'.
	('border-spacing' serialize_multiple): Revised taking into
	account 'import' and 'inherit'.
	('border-spacing' parse): Support for '+'.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24