1 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
4 |
|
for '+'. |
5 |
|
('margin-top' parse): Fixed to report more accureate error |
6 |
|
position. |
7 |
|
('right'): Negative values and 'auto' were not supported. |
8 |
|
|
9 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
12 |
|
|
13 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
14 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
15 |
|
|
16 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
19 |
|
report more accurate error position. Enabled the |
20 |
|
support for '-webkit-xxx-large'. |
21 |
|
('font' parse): Support for '+' in <'font-weight'> |
22 |
|
and <'font-size'>. |
23 |
|
|
24 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
27 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
28 |
|
and 'important' into account. |
29 |
|
('background' parse): Support for '+'. Correct initial value |
30 |
|
for 'background-position-y' was not set in some cases. |
31 |
|
Wrong value was set to 'background-position-x' in some case. |
32 |
|
Did not return by some syntax errors. |
33 |
|
|
34 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
37 |
|
|
38 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
39 |
|
argument to the |get_char| function. |
40 |
|
|
41 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
44 |
|
to take 'inherit' and 'important' into account. |
45 |
|
|
46 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
49 |
|
leading | ! |s in the priority part were removed (now they |
50 |
|
are added by |css_text| attribute implementation). |
51 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
52 |
|
fixed. |
53 |
|
|
54 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
57 |
|
($generic_font_keywords): Typo fixed. |
58 |
|
|
59 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
62 |
|
are changed. |
63 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
64 |
|
Implemented. |
65 |
|
('border-style' serialize_shorthand, 'border-color' |
66 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
67 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
68 |
|
'border-bottom' serialize_shorthand, 'border-right' |
69 |
|
serialize_shorthand): New. |
70 |
|
|
71 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
74 |
|
duplicate declarations was incorrect. |
75 |
|
(margin): Use 'margin' shorthand property for serializing |
76 |
|
margin-related properties if possible. Support for the |+| |
77 |
|
sign in <'margin'> is added. |
78 |
|
|
79 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
82 |
|
similar properties. |
83 |
|
|
84 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
87 |
|
to the standard error output) is defined. |
88 |
|
(parse_char_string {get_char}): Set the next number to the |
89 |
|
column number of the last character as the column of the |
90 |
|
end of file pseudo-character. |
91 |
|
|
92 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
95 |
|
|
96 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
99 |
|
to all the onerror invocations. The |{onerror}| function |
100 |
|
is no longer called with |{line}| and |{column}| parameters. |
101 |
|
|
102 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
103 |
|
values. |
104 |
|
|
105 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
108 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
109 |
|
error handler calling codes are modified for the experimental |
110 |
|
support for more precious reporting of error location. |
111 |
|
|
112 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
113 |
|
it was never used. |
114 |
|
(get_next_token): Limited and experimental support for token |
115 |
|
emittion with the information on the position where it occurs. |
116 |
|
(serialize_token): New function. |
117 |
|
|
118 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
121 |
|
|
122 |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
* Cascade.pm (get_cascaded_value): No longer have to test |
* Cascade.pm (get_cascaded_value): No longer have to test |