/[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.85 - (show annotations) (download)
Sat Feb 2 13:56:40 2008 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.84: +6 -0 lines
++ whatpm/Whatpm/CSS/ChangeLog	2 Feb 2008 13:56:35 -0000
	* Parser.pm ($default_serializer, serialize parameters): Removed (now
	it is part of manakai Message::DOM::CSSStyleDeclaration).
	('overflow' key): Removed (since it is a shorthand property).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24