| 1 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
| 4 |
|
report more accurate error position. Enabled the |
| 5 |
|
support for '-webkit-xxx-large'. |
| 6 |
|
('font' parse): Support for '+' in <'font-weight'> |
| 7 |
|
and <'font-size'>. |
| 8 |
|
|
| 9 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 10 |
|
|
| 11 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
| 12 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
| 13 |
|
and 'important' into account. |
| 14 |
|
('background' parse): Support for '+'. Correct initial value |
| 15 |
|
for 'background-position-y' was not set in some cases. |
| 16 |
|
Wrong value was set to 'background-position-x' in some case. |
| 17 |
|
Did not return by some syntax errors. |
| 18 |
|
|
| 19 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 20 |
|
|
| 21 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
| 22 |
|
|
| 23 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
| 24 |
|
argument to the |get_char| function. |
| 25 |
|
|
| 26 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 27 |
|
|
| 28 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
| 29 |
|
to take 'inherit' and 'important' into account. |
| 30 |
|
|
| 31 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 32 |
|
|
| 33 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
| 34 |
|
leading | ! |s in the priority part were removed (now they |
| 35 |
|
are added by |css_text| attribute implementation). |
| 36 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
| 37 |
|
fixed. |
| 38 |
|
|
| 39 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 40 |
|
|
| 41 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
| 42 |
|
($generic_font_keywords): Typo fixed. |
| 43 |
|
|
| 44 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
| 45 |
|
|
| 46 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
| 47 |
|
are changed. |
| 48 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
| 49 |
|
Implemented. |
| 50 |
|
('border-style' serialize_shorthand, 'border-color' |
| 51 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
| 52 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
| 53 |
|
'border-bottom' serialize_shorthand, 'border-right' |
| 54 |
|
serialize_shorthand): New. |
| 55 |
|
|
| 56 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
| 57 |
|
|
| 58 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
| 59 |
|
duplicate declarations was incorrect. |
| 60 |
|
(margin): Use 'margin' shorthand property for serializing |
| 61 |
|
margin-related properties if possible. Support for the |+| |
| 62 |
|
sign in <'margin'> is added. |
| 63 |
|
|
| 64 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
| 65 |
|
|
| 66 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
| 67 |
|
similar properties. |
| 68 |
|
|
| 69 |
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
| 70 |
|
|
| 71 |
* Parser.pm (new {onerror}): The default error handler (outputting |
* Parser.pm (new {onerror}): The default error handler (outputting |