1 |
|
2008-01-28 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm ($default_serializer): New 'CONTENT' type supported. |
4 |
|
('content'): Implemented. |
5 |
|
|
6 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* Parser.pm ($default_serializer): 'QUOTES' type supported. |
9 |
|
('quotes'): Implemented. |
10 |
|
|
11 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* Parser.pm ($one_keyword_parser): More accurate error location |
14 |
|
reporting. |
15 |
|
('overflow-x', 'overflow-y'): Implemented. |
16 |
|
('overflow'): Reimplemented as a shorthand. |
17 |
|
|
18 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* Parser.pm ('opacity' parse): Support for '+'. |
21 |
|
|
22 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* Parser.pm ('letter-spacing' parse): Support for '+'. |
25 |
|
('border-spacing' serialize_multiple): Revised taking into |
26 |
|
account 'import' and 'inherit'. |
27 |
|
('border-spacing' parse): Support for '+'. |
28 |
|
|
29 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
32 |
|
convertion was wrong. |
33 |
|
('orphans', 'background-position' parse): Support for '+'. |
34 |
|
|
35 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
38 |
|
for '+'. |
39 |
|
('margin-top' parse): Fixed to report more accureate error |
40 |
|
position. |
41 |
|
('right'): Negative values and 'auto' were not supported. |
42 |
|
|
43 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
46 |
|
|
47 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
48 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
49 |
|
|
50 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
53 |
|
report more accurate error position. Enabled the |
54 |
|
support for '-webkit-xxx-large'. |
55 |
|
('font' parse): Support for '+' in <'font-weight'> |
56 |
|
and <'font-size'>. |
57 |
|
|
58 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
61 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
62 |
|
and 'important' into account. |
63 |
|
('background' parse): Support for '+'. Correct initial value |
64 |
|
for 'background-position-y' was not set in some cases. |
65 |
|
Wrong value was set to 'background-position-x' in some case. |
66 |
|
Did not return by some syntax errors. |
67 |
|
|
68 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
71 |
|
|
72 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
73 |
|
argument to the |get_char| function. |
74 |
|
|
75 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
78 |
|
to take 'inherit' and 'important' into account. |
79 |
|
|
80 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
83 |
|
leading | ! |s in the priority part were removed (now they |
84 |
|
are added by |css_text| attribute implementation). |
85 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
86 |
|
fixed. |
87 |
|
|
88 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
91 |
|
($generic_font_keywords): Typo fixed. |
92 |
|
|
93 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
95 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
96 |
|
are changed. |
97 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
98 |
|
Implemented. |
99 |
|
('border-style' serialize_shorthand, 'border-color' |
100 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
101 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
102 |
|
'border-bottom' serialize_shorthand, 'border-right' |
103 |
|
serialize_shorthand): New. |
104 |
|
|
105 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
108 |
|
duplicate declarations was incorrect. |
109 |
|
(margin): Use 'margin' shorthand property for serializing |
110 |
|
margin-related properties if possible. Support for the |+| |
111 |
|
sign in <'margin'> is added. |
112 |
|
|
113 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
114 |
|
|
115 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
116 |
|
similar properties. |
117 |
|
|
118 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
121 |
|
to the standard error output) is defined. |
122 |
|
(parse_char_string {get_char}): Set the next number to the |
123 |
|
column number of the last character as the column of the |
124 |
|
end of file pseudo-character. |
125 |
|
|
126 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
129 |
|
|
130 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
133 |
|
to all the onerror invocations. The |{onerror}| function |
134 |
|
is no longer called with |{line}| and |{column}| parameters. |
135 |
|
|
136 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
137 |
|
values. |
138 |
|
|
139 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
142 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
143 |
|
error handler calling codes are modified for the experimental |
144 |
|
support for more precious reporting of error location. |
145 |
|
|
146 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
147 |
|
it was never used. |
148 |
|
(get_next_token): Limited and experimental support for token |
149 |
|
emittion with the information on the position where it occurs. |
150 |
|
(serialize_token): New function. |
151 |
|
|
152 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
155 |
|
|
156 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
158 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
159 |
|
whether priority is defined. |
160 |
|
|
161 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
162 |
|
if no priority was specified. |
163 |
|
|
164 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
167 |
|
string (not undef) if the property has no assigned value. |
168 |
|
|
169 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
172 |
|
that more Gecko-like namespace serialization can be implemented. |
173 |
|
|
174 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
175 |
|
Now it does almost same as what Gecko does for namespace |
176 |
|
tratements, what Gecko does for universal selector omittion, and what |
177 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
178 |
|
for pseudo-elements since Gecko and Opera do so. |
179 |
|
|
180 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
183 |
|
|
184 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
187 |
|
|
188 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* Parser.pm: 'font' is implemented. |
191 |
|
|
192 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
193 |
|
|
194 |
|
* Parser.pm: 'background' is implemented. |
195 |
|
|
196 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
197 |
|
|
198 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
199 |
|
'border-left', and 'outline' are implemented. White space characters |
200 |
|
were not allowed between property name and COLON. NUMBER and |
201 |
|
DIMENSION are not allowed as color in quirks mode. |
202 |
|
|
203 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* Cascade.pm: The object now has new device-dependent |
206 |
|
parameter, |has_invert|. |
207 |
|
|
208 |
|
* Parser.pm: The object now has new device-dependent |
209 |
|
parameter, |clip_color| function. |
210 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
211 |
|
states. No longer check for '(' and '[' matchings for |
212 |
|
compatibility with browsers. |
213 |
|
($default_serializer): Support for 'RGBA' data type. |
214 |
|
(color): Reimplemented. |
215 |
|
(backbround-color, border-top-color, border-right-color, |
216 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
217 |
|
|
218 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
219 |
|
|
220 |
|
* Parser.pm (background-position, background-position-x, |
221 |
|
background-position-y): Implemented. |
222 |
|
|
223 |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
224 |
|
|
225 |
* Parser.pm (border-spacing serialize_multiple): Implemented. |
* Parser.pm (border-spacing serialize_multiple): Implemented. |