/[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.68 - (hide annotations) (download)
Sat Jan 26 04:50:05 2008 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.67: +5 -0 lines
++ whatpm/t/ChangeLog	26 Jan 2008 04:49:57 -0000
	* css-font.dat: New test file.

	* CSS-Parser-1.dat: |css-font.dat| is added.

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

++ whatpm/Whatpm/CSS/ChangeLog	26 Jan 2008 04:49:36 -0000
	* Parser.pm (font serialize_shorthand): Implemented.
	($generic_font_keywords): Typo fixed.

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24