1 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Parser.pm: 'writing-mode', 'text-anchor', 'dominant-baseline', |
4 |
|
and 'alignment-baseline' are implemented. |
5 |
|
|
6 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* Parser.pm (parse_char_string): Precious '@charset' error |
9 |
|
reporting. |
10 |
|
|
11 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* Parser.pm (parse_char_string): '@import' support. |
14 |
|
|
15 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* Parser.pm (parse_char_string): Create a style sheet |
18 |
|
before the actual parsing (or use the style sheet created before |
19 |
|
the invocation to the method. |
20 |
|
(init): New. |
21 |
|
|
22 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* Parser.pm: |attr(prefix|localname)| did not work. Support |
25 |
|
for uppercase namespace prefixes (namespace prefixes were |
26 |
|
not normalized into lowercase when they were looked up.). Report |
27 |
|
the property name token when an unknown property error is raised. |
28 |
|
The '-moz-pre-wrap' value is supported for 'white-space' property. |
29 |
|
('background-position'): 'center left' and 'center right' |
30 |
|
were not supported. |
31 |
|
|
32 |
|
* SelectorsParser.pm: Report the namespace prefix token when |
33 |
|
an undeclared prefix error is raised. S_TOKEN in |
34 |
|
COMBINATOR_STATE was not handled correctly. |
35 |
|
|
36 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
38 |
|
* Parser.pm (new): s/unsupported/u/; |
39 |
|
|
40 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* Parser.pm: Support for '@nedia' at-rule. |
43 |
|
|
44 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* MediaQueryParser.pm, MediaQuerySerializer.pm: New Perl modules. |
47 |
|
|
48 |
|
2008-02-03 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* Parser.pm ('display', 'list-style-type', |
51 |
|
'caption-side'): CSS 2.0 values added. |
52 |
|
('font-size-adjust', 'font-stretch', 'marker-offset'): Implemented. |
53 |
|
($length_percentage_keyword_parser): Now this is in a variable. |
54 |
|
($length_keyword_parser): Now this is in a variable, too. |
55 |
|
('font'): Reset 'font-size-adjust' and 'font-stretch' as |
56 |
|
defined by CSS2. |
57 |
|
('marks', 'size', 'page'): Implemented. |
58 |
|
|
59 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* Parser.pm ($default_serializer, serialize parameters): Removed (now |
62 |
|
it is part of manakai Message::DOM::CSSStyleDeclaration). |
63 |
|
('overflow' key): Removed (since it is a shorthand property). |
64 |
|
|
65 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* Parser.pm ('font', 'cursor'): Serializer are |
68 |
|
merged with $default_serializer. |
69 |
|
|
70 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* Parser.pm ($default_serializer): New 'RECT' type supported. |
73 |
|
('clip'): Implemented. |
74 |
|
|
75 |
|
2008-01-30 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* Parser.pm ($default_serializer): New 'ADDCOUNTER' |
78 |
|
and 'SETCOUNTER' types supported. |
79 |
|
('content'): 'counter()' and 'counters()' are supported iff |
80 |
|
the property 'counter-reset' is supported. |
81 |
|
('counter-reset', 'counter-increment'): Implemented. |
82 |
|
|
83 |
|
2008-01-28 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* Parser.pm ($default_serializer): New 'CONTENT' type supported. |
86 |
|
('content'): Implemented. |
87 |
|
|
88 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* Parser.pm ($default_serializer): 'QUOTES' type supported. |
91 |
|
('quotes'): Implemented. |
92 |
|
|
93 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
95 |
|
* Parser.pm ($one_keyword_parser): More accurate error location |
96 |
|
reporting. |
97 |
|
('overflow-x', 'overflow-y'): Implemented. |
98 |
|
('overflow'): Reimplemented as a shorthand. |
99 |
|
|
100 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
102 |
|
* Parser.pm ('opacity' parse): Support for '+'. |
103 |
|
|
104 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* Parser.pm ('letter-spacing' parse): Support for '+'. |
107 |
|
('border-spacing' serialize_multiple): Revised taking into |
108 |
|
account 'import' and 'inherit'. |
109 |
|
('border-spacing' parse): Support for '+'. |
110 |
|
|
111 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* Parser.pm ($parse_color): Support for '+'. HSL to RGB |
114 |
|
convertion was wrong. |
115 |
|
('orphans', 'background-position' parse): Support for '+'. |
116 |
|
|
117 |
|
2008-01-27 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* Parser.pm ('z-index', 'line-height', 'border-width' parse): Support |
120 |
|
for '+'. |
121 |
|
('margin-top' parse): Fixed to report more accureate error |
122 |
|
position. |
123 |
|
('right'): Negative values and 'auto' were not supported. |
124 |
|
|
125 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
127 |
|
* Parser.pm ('font-weight' parser): Support for '+'. |
128 |
|
|
129 |
|
* Tokenizer.pm: Normalize number stored in |NUMBER_TOKEN|, |
130 |
|
|PERCENTAGE_TOKEN|, and |DIMENSION_TOKEN|. |
131 |
|
|
132 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* Parser.pm ('font-size' parser): Support for '+'. Fixed to |
135 |
|
report more accurate error position. Enabled the |
136 |
|
support for '-webkit-xxx-large'. |
137 |
|
('font' parse): Support for '+' in <'font-weight'> |
138 |
|
and <'font-size'>. |
139 |
|
|
140 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
141 |
|
|
142 |
|
* Parser.pm ('background' serialize_multiple, 'background-position' |
143 |
|
serialize_shorthand): Reimplemented taking 'inherit' |
144 |
|
and 'important' into account. |
145 |
|
('background' parse): Support for '+'. Correct initial value |
146 |
|
for 'background-position-y' was not set in some cases. |
147 |
|
Wrong value was set to 'background-position-x' in some case. |
148 |
|
Did not return by some syntax errors. |
149 |
|
|
150 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* Parser.pm (get_char): Use argument to avoid self reference. |
153 |
|
|
154 |
|
* Tokenizer.pm: Set the tokenizer itself as the first |
155 |
|
argument to the |get_char| function. |
156 |
|
|
157 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* Parser.pm ('border' serialize_multiple): Reimplement |
160 |
|
to take 'inherit' and 'important' into account. |
161 |
|
|
162 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* Parser.pm (serialize_shorthand, serialize_multiple): The |
165 |
|
leading | ! |s in the priority part were removed (now they |
166 |
|
are added by |css_text| attribute implementation). |
167 |
|
(border-width, border-style, border-color serialize_shorthand): Typo |
168 |
|
fixed. |
169 |
|
|
170 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* Parser.pm (font serialize_shorthand): Implemented. |
173 |
|
($generic_font_keywords): Typo fixed. |
174 |
|
|
175 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* Parser.pm: Return value of |serialize_multiple| methods |
178 |
|
are changed. |
179 |
|
('margin' serialize_multiple, 'padding' serialize_multiple): |
180 |
|
Implemented. |
181 |
|
('border-style' serialize_shorthand, 'border-color' |
182 |
|
serialize_shorthand, 'border-width' serialize_shorthand, |
183 |
|
'border-left' serialize_shorthand, 'border-top' serialize_shorthand, |
184 |
|
'border-bottom' serialize_shorthand, 'border-right' |
185 |
|
serialize_shorthand): New. |
186 |
|
|
187 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
188 |
|
|
189 |
|
* Parser.pm (parse_char_string): Treatement for non-important |
190 |
|
duplicate declarations was incorrect. |
191 |
|
(margin): Use 'margin' shorthand property for serializing |
192 |
|
margin-related properties if possible. Support for the |+| |
193 |
|
sign in <'margin'> is added. |
194 |
|
|
195 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* Parser.pm: Support for the |+| sign in 'margin-top' and |
198 |
|
similar properties. |
199 |
|
|
200 |
|
2008-01-22 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* Parser.pm (new {onerror}): The default error handler (outputting |
203 |
|
to the standard error output) is defined. |
204 |
|
(parse_char_string {get_char}): Set the next number to the |
205 |
|
column number of the last character as the column of the |
206 |
|
end of file pseudo-character. |
207 |
|
|
208 |
|
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* Parser.pm, SelectorsParser.pm: Error type strings are revised. |
211 |
|
|
212 |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
2008-01-20 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |
* Parser.pm, SelectorsParser.pm: |{href}| parameter added |