Parent Directory
|
Revision Log
++ whatpm/t/ChangeLog 27 Jan 2008 07:19:02 -0000 * CSS-Parser-1.t: Files |css-text.dat| and |css-paged.dat| are added. * css-visual.dat: New test data for 'background-position' are added. * css-text.dat: New test file. * css-paged.dat: New test file. 2008-01-27 Wakaba <wakaba@suika.fam.cx> ++ whatpm/Whatpm/CSS/ChangeLog 27 Jan 2008 07:18:18 -0000 * Parser.pm ($parse_color): Support for '+'. HSL to RGB convertion was wrong. ('orphans', 'background-position' parse): Support for '+'. 2008-01-27 Wakaba <wakaba@suika.fam.cx>
| 1 | 2008-01-27 Wakaba <[email protected]> |
| 2 | |
| 3 | * Parser.pm ($parse_color): Support for '+'. HSL to RGB |
| 4 | convertion was wrong. |
| 5 | ('orphans', 'background-position' parse): Support for '+'. |
| 6 | |
| 7 | 2008-01-27 Wakaba <[email protected]> |
| 8 | |
| 9 | * Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
| 10 | for '+'. |
| 11 | ('margin-top' parse): Fixed to report more accureate error |
| 12 | position. |
| 13 | ('right'): Negative values and 'auto' were not supported. |
| 14 | |
| 15 | 2008-01-26 Wakaba <[email protected]> |
| 16 | |
| 17 | * Parser.pm ('font-weight' parser): Support for '+'. |
| 18 | |
| 19 | * Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
| 20 | |PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
| 21 | |
| 22 | 2008-01-26 Wakaba <[email protected]> |
| 23 | |
| 24 | * Parser.pm ('font-size' parser): Support for '+'. Fixed to |
| 25 | report more accurate error position. Enabled the |
| 26 | support for '-webkit-xxx-large'. |
| 27 | ('font' parse): Support for '+' in <'font-weight'> |
| 28 | and <'font-size'>. |
| 29 | |
| 30 | 2008-01-26 Wakaba <[email protected]> |
| 31 | |
| 32 | * Parser.pm ('background' serialize_multiple, 'background-position' |
| 33 | serialize_shorthand): Reimplemented taking 'inherit' |
| 34 | and 'important' into account. |
| 35 | ('background' parse): Support for '+'. Correct initial value |
| 36 | for 'background-position-y' was not set in some cases. |
| 37 | Wrong value was set to 'background-position-x' in some case. |
| 38 | Did not return by some syntax errors. |
| 39 | |
| 40 | 2008-01-26 Wakaba <[email protected]> |
| 41 | |
| 42 | * Parser.pm (get_char): Use argument to avoid self reference. |
| 43 | |
| 44 | * Tokenizer.pm: Set the tokenizer itself as the first |
| 45 | argument to the |get_char| function. |
| 46 | |
| 47 | 2008-01-26 Wakaba <[email protected]> |
| 48 | |
| 49 | * Parser.pm ('border' serialize_multiple): Reimplement |
| 50 | to take 'inherit' and 'important' into account. |
| 51 | |
| 52 | 2008-01-26 Wakaba <[email protected]> |
| 53 | |
| 54 | * Parser.pm (serialize_shorthand, serialize_multiple): The |
| 55 | leading | ! |s in the priority part were removed (now they |
| 56 | are added by |css_text| attribute implementation). |
| 57 | (border-width, border-style, border-color serialize_shorthand): Typo |
| 58 | fixed. |
| 59 | |
| 60 | 2008-01-26 Wakaba <[email protected]> |
| 61 | |
| 62 | * Parser.pm (font serialize_shorthand): Implemented. |
| 63 | ($generic_font_keywords): Typo fixed. |
| 64 | |
| 65 | 2008-01-26 Wakaba <[email protected]> |
| 66 | |
| 67 | * Parser.pm: Return value of |serialize_multiple| methods |
| 68 | are changed. |
| 69 | ('margin' serialize_multiple, 'padding' serialize_multiple): |
| 70 | Implemented. |
| 71 | ('border-style' serialize_shorthand, 'border-color' |
| 72 | serialize_shorthand, 'border-width' serialize_shorthand, |
| 73 | 'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
| 74 | 'border-bottom' serialize_shorthand, 'border-right' |
| 75 | serialize_shorthand): New. |
| 76 | |
| 77 | 2008-01-24 Wakaba <[email protected]> |
| 78 | |
| 79 | * Parser.pm (parse_char_string): Treatement for non-important |
| 80 | duplicate declarations was incorrect. |
| 81 | (margin): Use 'margin' shorthand property for serializing |
| 82 | margin-related properties if possible. Support for the |+| |