/[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.82 - (hide annotations) (download)
Tue Jan 29 22:15:01 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.81: +8 -0 lines
++ whatpm/t/ChangeLog	29 Jan 2008 22:14:49 -0000
2008-01-30  Wakaba  <wakaba@suika.fam.cx>

	* css-generated.dat: New test data for 'counter-increment', 'content',
	and 'counter-reset' are added.

	* CSS-Parser-1.t: 'counter-reset' and 'counter-increment'
	are added.

++ whatpm/Whatpm/CSS/ChangeLog	29 Jan 2008 22:13:54 -0000
2008-01-30  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm ($default_serializer): New 'ADDCOUNTER'
	and 'SETCOUNTER' types supported.
	('content'): 'counter()' and 'counters()' are supported iff
	the property 'counter-reset' is supported.
	('counter-reset', 'counter-increment'): Implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24