/[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.64 - (hide annotations) (download)
Tue Jan 22 12:47:26 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.63: +8 -0 lines
++ whatpm/t/ChangeLog	22 Jan 2008 12:47:21 -0000
2008-01-22  Wakaba  <wakaba@suika.fam.cx>

	* css-1.dat: Basic tests for forward compatible parsing
	are added.

	* CSS-Parser-1.t: Support for |#errors| validation.

++ whatpm/Whatpm/CSS/ChangeLog	22 Jan 2008 12:44:31 -0000
2008-01-22  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm (new {onerror}): The default error handler (outputting
	to the standard error output) is defined.
	(parse_char_string {get_char}): Set the next number to the
	column number of the last character as the column of the
	end of file pseudo-character.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24