1 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
4 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
5 |
|
and 'important' into account. |
6 |
|
('background' parse): Support for '+'. Correct initial value |
7 |
|
for 'background-position-y' was not set in some cases. |
8 |
|
Wrong value was set to 'background-position-x' in some case. |
9 |
|
Did not return by some syntax errors. |
10 |
|
|
11 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
14 |
|
|
15 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
16 |
|
argument to the |get_char| function. |
17 |
|
|
18 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
21 |
|
to take 'inherit' and 'important' into account. |
22 |
|
|
23 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
26 |
|
leading | ! |s in the priority part were removed (now they |
27 |
|
are added by |css_text| attribute implementation). |
28 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
29 |
|
fixed. |
30 |
|
|
31 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
34 |
|
($generic_font_keywords): Typo fixed. |
35 |
|
|
36 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
38 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
39 |
|
are changed. |
40 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
41 |
|
Implemented. |
42 |
|
('border-style' serialize_shorthand, 'border-color' |
43 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
44 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
45 |
|
'border-bottom' serialize_shorthand, 'border-right' |
46 |
|
serialize_shorthand): New. |
47 |
|
|
48 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
51 |
|
duplicate declarations was incorrect. |
52 |
|
(margin): Use 'margin' shorthand property for serializing |
53 |
|
margin-related properties if possible. Support for the |+| |
54 |
|
sign in <'margin'> is added. |
55 |
|
|
56 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
59 |
|
similar properties. |
60 |
|
|
61 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
64 |
|
to the standard error output) is defined. |
65 |
|
(parse_char_string {get_char}): Set the next number to the |
66 |
|
column number of the last character as the column of the |
67 |
|
end of file pseudo-character. |
68 |
|
|
69 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
72 |
|
|
73 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
75 |
|
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
76 |
|
to all the onerror invocations. The |{onerror}| function |
77 |
|
is no longer called with |{line}| and |{column}| parameters. |
78 |
|
|
79 |
|
* Tokenizer.pm: All token are now given |{line}| and |{column}| |
80 |
|
values. |
81 |
|
|
82 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* Parser.pm (parse_char_string): Revise |$tt->{get_char}| callback |
85 |
|
so that it sets |$tt->{line}| and |$tt->{column}| options. Some |
86 |
|
error handler calling codes are modified for the experimental |
87 |
|
support for more precious reporting of error location. |
88 |
|
|
89 |
|
* Tokenizer.pm (new): The |onerror| option has been removed, since |
90 |
|
it was never used. |
91 |
|
(get_next_token): Limited and experimental support for token |
92 |
|
emittion with the information on the position where it occurs. |
93 |
|
(serialize_token): New function. |
94 |
|
|
95 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* Parser.pm (-moz-opacity): DOM attribute name was wrong. |
98 |
|
|
99 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* Cascade.pm (get_cascaded_value): No longer have to test |
102 |
|
whether priority is defined. |
103 |
|
|
104 |
|
* Parser.pm (parse_char_string): Set an empty string as the priority |
105 |
|
if no priority was specified. |
106 |
|
|
107 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
109 |
|
* Parser.pm (serialize, serialize_multiple): Return an empty |
110 |
|
string (not undef) if the property has no assigned value. |
111 |
|
|
112 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* Parser.pm (parse_char_string): Namespace support is revised so |
115 |
|
that more Gecko-like namespace serialization can be implemented. |
116 |
|
|
117 |
|
* SelectorsSerializer.pm (serialize_selector_text): Revised. |
118 |
|
Now it does almost same as what Gecko does for namespace |
119 |
|
tratements, what Gecko does for universal selector omittion, and what |
120 |
|
Opera does for ordering (i.e. no sorting). Only one COLON |
121 |
|
for pseudo-elements since Gecko and Opera do so. |
122 |
|
|
123 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* SelectorsSerializer.pm (serialize_selector_text): New method. |
126 |
|
|
127 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* Parser.pm: 'opacity' and '-moz-opacity' are implemented. |
130 |
|
|
131 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* Parser.pm: 'font' is implemented. |
134 |
|
|
135 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
136 |
|
|
137 |
|
* Parser.pm: 'background' is implemented. |
138 |
|
|
139 |
|
2008-01-12 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* Parser.pm: 'border', 'border-top', 'border-right', 'border-bottom', |
142 |
|
'border-left', and 'outline' are implemented. White space characters |
143 |
|
were not allowed between property name and COLON. NUMBER and |
144 |
|
DIMENSION are not allowed as color in quirks mode. |
145 |
|
|
146 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* Cascade.pm: The object now has new device-dependent |
149 |
|
parameter, |has_invert|. |
150 |
|
|
151 |
|
* Parser.pm: The object now has new device-dependent |
152 |
|
parameter, |clip_color| function. |
153 |
|
(parse_char_string): Inifinite-loop fixed for ignoring |
154 |
|
states. No longer check for '(' and '[' matchings for |
155 |
|
compatibility with browsers. |
156 |
|
($default_serializer): Support for 'RGBA' data type. |
157 |
|
(color): Reimplemented. |
158 |
|
(backbround-color, border-top-color, border-right-color, |
159 |
|
border-bottom-color, border-left-color, outline-color): Implemented. |
160 |
|
|
161 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* Parser.pm (background-position, background-position-x, |
164 |
|
background-position-y): Implemented. |
165 |
|
|
166 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* Parser.pm (border-spacing serialize_multiple): Implemented. |
169 |
|
|
170 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* Parser.pm: Disallow '-' without following NUMBER or DIMENSION. |
173 |
|
(border-width serialize): Was incorrect. |
174 |
|
|
175 |
|
2008-01-05 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* Parser.pm (-manakai-border-spacing-x, -manakai-border-spacing-y, |
178 |
|
border-spacing): Implemented. |
179 |
|
|
180 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
|
* Parser.pm (letter-spacing, word-specing, text-indent, |
183 |
|
outline-width): Implemented. |
184 |
|
(outline-style): Don't allow 'hidden'. |
185 |
|
|
186 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
187 |
|
|
188 |
|
* Parser.pm ($default_serializer): Support for |
189 |
|
the |PERCENTAGE| data type. |
190 |
|
(padding-top, border-top-width): The parser now |
191 |
|
refers the parser of the 'margin-top'. |
192 |
|
(width, height, min-width, min-height, max-width, max-height, |
193 |
|
vertical-align, line-height): Implemented. |
194 |
|
|
195 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* Cascade.pm (get_specified_value_no_inherit): New function. |
198 |
|
(get_computed_value): New way to get computed value, |
199 |
|
the |{compute_multiple}| code, is now supported. |
200 |
|
|
201 |
|
* Parser.pm (top, bottom, left, right): Implemented. |
202 |
|
|
203 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* Parser.pm: Some condition operators were incorrect. |
206 |
|
The 'border-width' property family is implemented. |
207 |
|
|
208 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* Parser.pm: Support for the 'margin' and 'padding' |
211 |
|
property families. |
212 |
|
|
213 |
|
2008-01-03 Wakaba <wakaba@suika.fam.cx> |
214 |
|
|
215 |
|
* Parser.pm: 'font-size' support. |
216 |
|
|
217 |
|
* Cascade.pm (new): Set default value for 'font-size' |
218 |
|
relative- and absolute- value computations. |
219 |
|
|
220 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* Cascade.pm (get_cascaded_value): "*"-only declaration blocks |
223 |
|
were ignored. |
224 |
|
|
225 |
|
* Parser.pm (cursor): Implemented. |
226 |
|
|
227 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
|
* Parser.pm (text-align, text-transform, white-space, |
230 |
|
caption-side, table-layout, border-collapse, empty-cells, |
231 |
|
outline-style, text-decoration): Implemented. |
232 |
|
|
233 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
235 |
|
* Cascade.pm (get_computed_value): Even when |inherit| is specified |
236 |
|
the value is resolved into the computed value by the |{compute}| |
237 |
|
code to support edge cases not mentioned in the CSS 2.1 spec (see |
238 |
|
<http://suika.fam.cx/gate/2005/sw/inherit>). |
239 |
|
|
240 |
|
2008-01-02 Wakaba <wakaba@suika.fam.cx> |
241 |
|
|
242 |
|
* Cascade.pm (get_computed_value): Resolve initial value referred |
243 |
|
when |inherit| is specified as if it were the specified value. |
244 |
|
|
245 |
|
* Parser.pm: Some properties were incorrectly marked as |
246 |
|
inherited. |
247 |
|
(background-repeat, background-attachment, font-style, |
248 |
|
font-variant, font-weight, background-image, font-family): Implemented. |
249 |
|
|
250 |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
251 |
|
|
252 |
* Parser.pm: Give |list-style-image|'s compute function a name. |
* Parser.pm: Give |list-style-image|'s compute function a name. |