2008-01-26 Wakaba * Parser.pm ('font-weight' parser): Support for '+'. * Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. 2008-01-26 Wakaba * Parser.pm ('font-size' parser): Support for '+'. Fixed to report more accurate error position. Enabled the support for '-webkit-xxx-large'. ('font' parse): Support for '+' in <'font-weight'> and <'font-size'>. 2008-01-26 Wakaba * Parser.pm ('background' serialize_multiple, 'background-position' serialize_shorthand): Reimplemented taking 'inherit' and 'important' into account. ('background' parse): Support for '+'. Correct initial value for 'background-position-y' was not set in some cases. Wrong value was set to 'background-position-x' in some case. Did not return by some syntax errors. 2008-01-26 Wakaba * Parser.pm (get_char): Use argument to avoid self reference. * Tokenizer.pm: Set the tokenizer itself as the first argument to the |get_char| function. 2008-01-26 Wakaba * Parser.pm ('border' serialize_multiple): Reimplement to take 'inherit' and 'important' into account. 2008-01-26 Wakaba * Parser.pm (serialize_shorthand, serialize_multiple): The leading | ! |s in the priority part were removed (now they are added by |css_text| attribute implementation). (border-width, border-style, border-color serialize_shorthand): Typo fixed. 2008-01-26 Wakaba * Parser.pm (font serialize_shorthand): Implemented. ($generic_font_keywords): Typo fixed. 2008-01-26 Wakaba * Parser.pm: Return value of |serialize_multiple| methods are changed. ('margin' serialize_multiple, 'padding' serialize_multiple): Implemented. ('border-style' serialize_shorthand, 'border-color' serialize_shorthand, 'border-width' serialize_shorthand, 'border-left' serialize_shorthand, 'border-top' serialize_shorthand, 'border-bottom' serialize_shorthand, 'border-right' serialize_shorthand): New. 2008-01-24 Wakaba * Parser.pm (parse_char_string): Treatement for non-important duplicate declarations was incorrect. (margin): Use 'margin' shorthand property for serializing margin-related properties if possible. Support for the |+| sign in <'margin'> is added. 2008-01-24 Wakaba * Parser.pm: Support for the |+| sign in 'margin-top' and similar properties. 2008-01-22 Wakaba * Parser.pm (new {onerror}): The default error handler (outputting to the standard error output) is defined. (parse_char_string {get_char}): Set the next number to the column number of the last character as the column of the end of file pseudo-character. 2008-01-20 Wakaba * Parser.pm, SelectorsParser.pm: Error type strings are revised. 2008-01-20 Wakaba * Parser.pm, SelectorsParser.pm: |{href}| parameter added to all the onerror invocations. The |{onerror}| function is no longer called with |{line}| and |{column}| parameters. * Tokenizer.pm: All token are now given |{line}| and |{column}| values. 2008-01-20 Wakaba * Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback so that it sets |$tt->{line}| and |$tt->{column}| options. Some error handler calling codes are modified for the experimental support for more precious reporting of error location. * Tokenizer.pm (new): The |onerror| option has been removed, since it was never used. (get_next_token): Limited and experimental support for token emittion with the information on the position where it occurs. (serialize_token): New function. 2008-01-14 Wakaba * Parser.pm (-moz-opacity): DOM attribute name was wrong. 2008-01-14 Wakaba * Cascade.pm (get_cascaded_value): No longer have to test whether priority is defined. * Parser.pm (parse_char_string): Set an empty string as the priority if no priority was specified. 2008-01-14 Wakaba * Parser.pm (serialize, serialize_multiple): Return an empty string (not undef) if the property has no assigned value. 2008-01-14 Wakaba * Parser.pm (parse_char_string): Namespace support is revised so that more Gecko-like namespace serialization can be implemented. * SelectorsSerializer.pm (serialize_selector_text): Revised. Now it does almost same as what Gecko does for namespace tratements, what Gecko does for universal selector omittion, and what Opera does for ordering (i.e. no sorting). Only one COLON for pseudo-elements since Gecko and Opera do so. 2008-01-14 Wakaba * SelectorsSerializer.pm (serialize_selector_text): New method. 2008-01-12 Wakaba * Parser.pm: 'opacity' and '-moz-opacity' are implemented. 2008-01-12 Wakaba * Parser.pm: 'font' is implemented. 2008-01-12 Wakaba * Parser.pm: 'background' is implemented. 2008-01-12 Wakaba * Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', 'border-left', and 'outline' are implemented. White space characters were not allowed between property name and COLON. NUMBER and DIMENSION are not allowed as color in quirks mode. 2008-01-06 Wakaba * Cascade.pm: The object now has new device-dependent parameter, |has_invert|. * Parser.pm: The object now has new device-dependent parameter, |clip_color| function. (parse_char_string): Inifinite-loop fixed for ignoring states. No longer check for '(' and '[' matchings for compatibility with browsers. ($default_serializer): Support for 'RGBA' data type. (color): Reimplemented. (backbround-color, border-top-color, border-right-color, border-bottom-color, border-left-color, outline-color): Implemented. 2008-01-06 Wakaba * Parser.pm (background-position, background-position-x, background-position-y): Implemented. 2008-01-06 Wakaba * Parser.pm (border-spacing serialize_multiple): Implemented. 2008-01-06 Wakaba * Parser.pm: Disallow '-' without following NUMBER or DIMENSION. (border-width serialize): Was incorrect. 2008-01-05 Wakaba * Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, border-spacing): Implemented. 2008-01-04 Wakaba * Parser.pm (letter-spacing, word-specing, text-indent, outline-width): Implemented. (outline-style): Don't allow 'hidden'. 2008-01-04 Wakaba * Parser.pm ($default_serializer): Support for the |PERCENTAGE| data type. (padding-top, border-top-width): The parser now refers the parser of the 'margin-top'. (width, height, min-width, min-height, max-width, max-height, vertical-align, line-height): Implemented. 2008-01-03 Wakaba * Cascade.pm (get_specified_value_no_inherit): New function. (get_computed_value): New way to get computed value, the |{compute_multiple}| code, is now supported. * Parser.pm (top, bottom, left, right): Implemented. 2008-01-03 Wakaba * Parser.pm: Some condition operators were incorrect. The 'border-width' property family is implemented. 2008-01-03 Wakaba * Parser.pm: Support for the 'margin' and 'padding' property families. 2008-01-03 Wakaba * Parser.pm: 'font-size' support. * Cascade.pm (new): Set default value for 'font-size' relative- and absolute- value computations. 2008-01-02 Wakaba * Cascade.pm (get_cascaded_value): "*"-only declaration blocks were ignored. * Parser.pm (cursor): Implemented. 2008-01-02 Wakaba * Parser.pm (text-align, text-transform, white-space, caption-side, table-layout, border-collapse,