/[suikacvs]/markup/html/whatpm/Whatpm/CSS/ChangeLog
Suika

Diff of /markup/html/whatpm/Whatpm/CSS/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.91

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24