/[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.88 - (show annotations) (download)
Fri Feb 8 15:05:56 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.87: +4 -0 lines
++ whatpm/t/ChangeLog	8 Feb 2008 15:05:50 -0000
	* css-2.dat: New test data.

	* CSS-Parser-1.t: |css-2.dat| added.  Support for |@media|.

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

++ whatpm/Whatpm/CSS/ChangeLog	8 Feb 2008 15:05:02 -0000
	* Parser.pm: Support for '@nedia' at-rule.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24