/[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.92 - (show annotations) (download)
Mon Feb 11 00:32:08 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.91: +9 -0 lines
++ whatpm/t/ChangeLog	11 Feb 2008 00:32:04 -0000
2008-02-11  Wakaba  <wakaba@suika.fam.cx>

	* css-4.dat: New test file.

	* CSS-Parser-1.t: |css-4.dat| added.  Support for '@charset'
	and '@import'.

++ whatpm/Whatpm/CSS/ChangeLog	11 Feb 2008 00:31:35 -0000
2008-02-11  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm (parse_char_string): Precious '@charset' error
	reporting.

2008-02-10  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm (parse_char_string): '@import' support.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24