/[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.94 - (show annotations) (download)
Sat Aug 16 07:35:23 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.93: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	16 Aug 2008 07:34:18 -0000
	* CacheManifest.pm: Support for new style of error
	reports.

	* HTML.pm.src: Set line=1, column=1 to the document node.

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

++ whatpm/Whatpm/CSS/ChangeLog	16 Aug 2008 07:34:47 -0000
2008-08-16  Wakaba  <wakaba@suika.fam.cx>

	* MediaQueryParser.pm, SelectorsParser.pm, Parser.pm: Support
	for new style of error reports.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24