/[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.81 - (hide annotations) (download)
Mon Jan 28 13:13:24 2008 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.80: +5 -0 lines
++ whatpm/t/ChangeLog	28 Jan 2008 13:13:16 -0000
2008-01-28  Wakaba  <wakaba@suika.fam.cx>

	* CSS-Parser-1.t: 'content' added to the list of supported
	property and the list of initial values.

	* css-generated.dat: Tests for 'content' are added.

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

	* CSS-Parser-1.t: Loads test files as UTF-8.

	* css-generated.dat: Semi-real-world test data for 'quotes' are added.

++ whatpm/Whatpm/CSS/ChangeLog	28 Jan 2008 13:11:50 -0000
2008-01-28  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm ($default_serializer): New 'CONTENT' type supported.
	('content'): Implemented.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24