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

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.90

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24