/[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.75 - (show annotations) (download)
Sun Jan 27 06:42:04 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.74: +8 -0 lines
++ whatpm/t/ChangeLog	27 Jan 2008 06:42:00 -0000
2008-01-27  Wakaba  <wakaba@suika.fam.cx>

	* css-visual.dat: New test data for 'border-top-width', 'border-width',
	'padding-top', 'top', 'right', 'bottom', 'left', 'z-index',
	'width', 'min-width', 'max-width', 'height', 'min-height',
	'max-height', 'line-height', and 'vertical-align' are added.

++ whatpm/Whatpm/CSS/ChangeLog	27 Jan 2008 06:40:08 -0000
2008-01-27  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support
	for '+'.
	('margin-top' parse): Fixed to report more accureate error
	position.
	('right'): Negative values and 'auto' were not supported.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24