/[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.93 - (show annotations) (download)
Mon Feb 11 09:53:37 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.92: +5 -0 lines
++ whatpm/t/ChangeLog	11 Feb 2008 09:53:28 -0000
	* css-text.dat: Test data for 'writing-mode' and 'text-anchor'
	are added.

	* CSS-Parser-1.t: New properties are added.

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

++ whatpm/Whatpm/CSS/ChangeLog	11 Feb 2008 09:52:47 -0000
	* Parser.pm: 'writing-mode', 'text-anchor', 'dominant-baseline',
	and 'alignment-baseline' are implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24