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