1 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (set_inner_html): Line/column number |
4 |
|
code was old one yet. |
5 |
|
|
6 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
9 |
|
errors. Line/column markings for DOCTYPE, comment, and |
10 |
|
character tokens are reintroduced; otherwise, |
11 |
|
error location for "not HTML5" error and errors |
12 |
|
for implied elements are not attached. |
13 |
|
|
14 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
16 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
17 |
|
|
18 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
19 |
|
(value): Setter implemented. |
20 |
|
|
21 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
22 |
|
|
23 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* HTML.pm.src: Unused line/column markings are removed. |
26 |
|
|
27 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
30 |
|
flag, which is no longer used. |
31 |
|
|
32 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* HTML.pm.src: Set line/column information to element nodes. |
35 |
|
|
36 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
37 |
|
and !!!insert-element-t): Set line/column information to |
38 |
|
element nodes. |
39 |
|
|
40 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
43 |
|
in "<?", "<>", or "</>" should be the error point. |
44 |
|
|
45 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* HTML.pm.src: Some more fixes on error position reporting. |
48 |
|
|
49 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* HTML.pm.src: Token-level precious error reporting. |
52 |
|
|
53 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* HTML.pm.src: Preparation for more precious error point |
56 |
|
reporting. |
57 |
|
|
58 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* HTML.pm.src: Error type revised. |
61 |
|
|
62 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* HTML.pm.src: Similar codes are merged together, again. |
65 |
|
|
66 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
|
* HTML.pm.src: Similar codes are merged together. |
69 |
|
|
70 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
73 |
|
|
74 |
|
* HTML.pm.src: Code refined. |
75 |
|
|
76 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
79 |
|
revision 1348). Note that I really don't know this makes |
80 |
|
any difference in the black-box behavior of the parser. |
81 |
|
|
82 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
85 |
|
revision 1348). |
86 |
|
|
87 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
90 |
|
|
91 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
93 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
94 |
|
|
95 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
98 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
99 |
|
revision 1342). |
100 |
|
|
101 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
104 |
|
in non-tainted <table>s (HTML5 revision 1336). |
105 |
|
|
106 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* HTML.pm.src: Ignore white space characters between <html> |
109 |
|
and <head> (HTML5 revision 1332). |
110 |
|
|
111 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
114 |
|
white space (HTML5 revision 1331). |
115 |
|
|
116 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
119 |
|
element (HTML5 revision 1330). |
120 |
|
|
121 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* HTML.pm.src: <title> is always appended to the current |
124 |
|
element (HTML5 revision 1328). |
125 |
|
|
126 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* HTML.pm.src: White space in tainted tables are moved |
129 |
|
into foster parents (HTML5 revision 1326). |
130 |
|
|
131 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
134 |
|
revision 1321). |
135 |
|
|
136 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
138 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
139 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
140 |
|
all of HTML5 revision 1320 changes. |
141 |
|
|
142 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
145 |
|
tags (HTML5 revision 1320). |
146 |
|
|
147 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
150 |
|
|
151 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
154 |
|
could not be reached so that it is now removed (HTML5 revision |
155 |
|
1320). |
156 |
|
|
157 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
160 |
|
to align with new spec text (HTML5 revision 1320). |
161 |
|
|
162 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
165 |
|
have had no harm in theory. |
166 |
|
|
167 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
170 |
|
case is split from other end tags for the preparation |
171 |
|
of implementing HTML revision 1320. |
172 |
|
|
173 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
176 |
|
revision 1320). |
177 |
|
|
178 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
181 |
|
and "div" (HTML5 revision 1318). Add comments to where |
182 |
|
|form| pointer association codes should be inserted (HTML5 revision |
183 |
|
1319). |
184 |
|
|
185 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
187 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
188 |
|
|
189 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
192 |
|
other token type, there are), it is replaced by a |die| statement. |
193 |
|
|
194 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
195 |
|
|
196 |
|
* HTML.pm.src: Typo fixed. |
197 |
|
|
198 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
199 |
|
|
200 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
201 |
|
doctypes were not uppercased for comparison. |
202 |
|
|
203 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
206 |
|
are added. |
207 |
|
|
208 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
211 |
|
are set. Cases that are unlikely reached are noted as so. |
212 |
|
|
213 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
214 |
|
|
215 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
216 |
|
|
217 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
218 |
|
|
219 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
220 |
|
|
221 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
222 |
|
for simplicity. |
223 |
|
|
224 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
227 |
|
revision 1307). |
228 |
|
|
229 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
230 |
|
|
231 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
232 |
|
is set are changed (HTML5 revision 1305). |
233 |
|
|
234 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
235 |
|
|
236 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
237 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
238 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
239 |
|
of attribute value literals (HTML5 revision 1296). More |
240 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
241 |
|
between attributes and ban attribute names or unquoted |
242 |
|
attribute values containing single or double quotes (HTML5 |
243 |
|
revision 1303). |
244 |
|
|
245 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
246 |
|
|
247 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
248 |
|
and related errors unless it is an HTML document (though the spec |
249 |
|
is unclear on whether it is applied to XHTML document). |
250 |
|
|
251 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
252 |
|
are added. |
253 |
|
|
254 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
257 |
|
|
258 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
259 |
|
|
260 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
261 |
|
|
262 |
|
* HTML.pm.src: |charset| in |content| attribute is |
263 |
|
case-insensitive (HTML5 revision 1270). |
264 |
|
|
265 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* ContentChecker.pm: New status constants are added. |
268 |
|
($ElementDefault): |status| added. |
269 |
|
(check_element): Err for non-standard or deprecated elements. |
270 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
271 |
|
|
272 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
273 |
|
|
274 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
275 |
|
|
276 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
277 |
|
|
278 |
|
* ContentChecker.pm (check_element): Element standardized |
279 |
|
status information is now dispatched. |
280 |
|
|
281 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
282 |
|
|
283 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
284 |
|
problem by adding some more arguments. |
285 |
|
|
286 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
287 |
|
|
288 |
|
* ContentChecker.pm (check_element): Use context of |
289 |
|
container-for-the-purpose-of-content-model element (not transparent |
290 |
|
element) for |check_child_element| calling and significant |
291 |
|
text flag marking. This reintroduces |<del>|-and-significant |
292 |
|
problem again. |
293 |
|
|
294 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
295 |
|
|
296 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
297 |
|
elements ignored for the purpose of phase changes in |
298 |
|
content model checking. |
299 |
|
|
300 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
301 |
|
|
302 |
|
* ContentChecker.pm (check_element): In-element state |
303 |
|
was not properly managed for transparent cases. |
304 |
|
|
305 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* ContentChecker.pm (check_element): Support for |video| |
308 |
|
and |audio| as semi-transparent elements. |
309 |
|
|
310 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
311 |
|
|
312 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
313 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
314 |
|
Support for |html:object| as a semi-transparent element. |
315 |
|
|
316 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
318 |
* ContentChecker.pm (check_element): The way to traverse |
* ContentChecker.pm (check_element): The way to traverse |