1 |
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* HTML.pm.src: Similar codes are merged together. |
4 |
|
5 |
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
6 |
|
7 |
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
8 |
|
9 |
* HTML.pm.src: Code refined. |
10 |
|
11 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
12 |
|
13 |
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
14 |
revision 1348). Note that I really don't know this makes |
15 |
any difference in the black-box behavior of the parser. |
16 |
|
17 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
18 |
|
19 |
* HTML.pm.src: New end-of-file token implementation (HTML5 |
20 |
revision 1348). |
21 |
|
22 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
23 |
|
24 |
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
25 |
|
26 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
27 |
|
28 |
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
29 |
|
30 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
31 |
|
32 |
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
33 |
mode and support for the "in select in table" insertion mode (HTML5 |
34 |
revision 1342). |
35 |
|
36 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
37 |
|
38 |
* HTML.pm.src: No foster parenting for <script> and <script> |
39 |
in non-tainted <table>s (HTML5 revision 1336). |
40 |
|
41 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
42 |
|
43 |
* HTML.pm.src: Ignore white space characters between <html> |
44 |
and <head> (HTML5 revision 1332). |
45 |
|
46 |
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
47 |
|
48 |
* HTML.pm.src: Treat <input type=hidden> as if it were a |
49 |
white space (HTML5 revision 1331). |
50 |
|
51 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
52 |
|
53 |
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
54 |
element (HTML5 revision 1330). |
55 |
|
56 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
57 |
|
58 |
* HTML.pm.src: <title> is always appended to the current |
59 |
element (HTML5 revision 1328). |
60 |
|
61 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
62 |
|
63 |
* HTML.pm.src: White space in tainted tables are moved |
64 |
into foster parents (HTML5 revision 1326). |
65 |
|
66 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
67 |
|
68 |
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
69 |
revision 1321). |
70 |
|
71 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
72 |
|
73 |
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
74 |
the spec (HTML5 revision 1320). Note that we finally complete |
75 |
all of HTML5 revision 1320 changes. |
76 |
|
77 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
78 |
|
79 |
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
80 |
tags (HTML5 revision 1320). |
81 |
|
82 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
83 |
|
84 |
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
85 |
|
86 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
87 |
|
88 |
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
89 |
could not be reached so that it is now removed (HTML5 revision |
90 |
1320). |
91 |
|
92 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
93 |
|
94 |
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
95 |
to align with new spec text (HTML5 revision 1320). |
96 |
|
97 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
98 |
|
99 |
* HTML.pm.src: Remove strange |if| condition; however, it should |
100 |
have had no harm in theory. |
101 |
|
102 |
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
103 |
|
104 |
* HTML.pm.src (_tree_construction_main): '</p>' in body |
105 |
case is split from other end tags for the preparation |
106 |
of implementing HTML revision 1320. |
107 |
|
108 |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
109 |
|
110 |
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
111 |
revision 1320). |
112 |
|
113 |
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
114 |
|
115 |
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
116 |
and "div" (HTML5 revision 1318). Add comments to where |
117 |
|form| pointer association codes should be inserted (HTML5 revision |
118 |
1319). |
119 |
|
120 |
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
121 |
|
122 |
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
123 |
|
124 |
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
125 |
|
126 |
* HTML.pm.src: Since the case t268 should never be reached (no |
127 |
other token type, there are), it is replaced by a |die| statement. |
128 |
|
129 |
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
130 |
|
131 |
* HTML.pm.src: Typo fixed. |
132 |
|
133 |
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
134 |
|
135 |
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
136 |
doctypes were not uppercased for comparison. |
137 |
|
138 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
139 |
|
140 |
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
141 |
are added. |
142 |
|
143 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
144 |
|
145 |
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
146 |
are set. Cases that are unlikely reached are noted as so. |
147 |
|
148 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
149 |
|
150 |
* HTML.pm.src: Checkpoints for debugging are added. |
151 |
|
152 |
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
153 |
|
154 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
155 |
|
156 |
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
157 |
for simplicity. |
158 |
|
159 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
160 |
|
161 |
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
162 |
revision 1307). |
163 |
|
164 |
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
165 |
|
166 |
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
167 |
is set are changed (HTML5 revision 1305). |
168 |
|
169 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
170 |
|
171 |
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
172 |
1292). Entities are not parsed in comment-like part in RCDATA |
173 |
elements (HTML5 revision 1294). Allow bare & at the end |
174 |
of attribute value literals (HTML5 revision 1296). More |
175 |
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
176 |
between attributes and ban attribute names or unquoted |
177 |
attribute values containing single or double quotes (HTML5 |
178 |
revision 1303). |
179 |
|
180 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
181 |
|
182 |
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
183 |
and related errors unless it is an HTML document (though the spec |
184 |
is unclear on whether it is applied to XHTML document). |
185 |
|
186 |
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
187 |
are added. |
188 |
|
189 |
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
190 |
|
191 |
* HTML.pm.src: s/local_name/manakai_local_name/g. |
192 |
|
193 |
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
194 |
|
195 |
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
196 |
|
197 |
* HTML.pm.src: |charset| in |content| attribute is |
198 |
case-insensitive (HTML5 revision 1270). |
199 |
|
200 |
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
201 |
|
202 |
* ContentChecker.pm: New status constants are added. |
203 |
($ElementDefault): |status| added. |
204 |
(check_element): Err for non-standard or deprecated elements. |
205 |
(_attr_status_info): For non-standard or deprecated attributes. |
206 |
|
207 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
208 |
|
209 |
* ContentChecker.pm (_attr_status_info): New internal method. |
210 |
|
211 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
212 |
|
213 |
* ContentChecker.pm (check_element): Element standardized |
214 |
status information is now dispatched. |
215 |
|
216 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
217 |
|
218 |
* ContentChecker.pm (check_element): Fix |del|-and-significant |
219 |
problem by adding some more arguments. |
220 |
|
221 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
222 |
|
223 |
* ContentChecker.pm (check_element): Use context of |
224 |
container-for-the-purpose-of-content-model element (not transparent |
225 |
element) for |check_child_element| calling and significant |
226 |
text flag marking. This reintroduces |<del>|-and-significant |
227 |
problem again. |
228 |
|
229 |
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
230 |
|
231 |
* ContentChecker.pm (check_element): Make semi-transparent |
232 |
elements ignored for the purpose of phase changes in |
233 |
content model checking. |
234 |
|
235 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
236 |
|
237 |
* ContentChecker.pm (check_element): In-element state |
238 |
was not properly managed for transparent cases. |
239 |
|
240 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
241 |
|
242 |
* ContentChecker.pm (check_element): Support for |video| |
243 |
and |audio| as semi-transparent elements. |
244 |
|
245 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
246 |
|
247 |
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
248 |
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
249 |
Support for |html:object| as a semi-transparent element. |
250 |
|
251 |
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
252 |
|
253 |
* ContentChecker.pm (check_element): The way to traverse |
254 |
the tree is entirely revised to make it easier to track |
255 |
the state of ancestors/descendants. As a result of this |
256 |
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
257 |
support for content model checking for HTML elements |figure|, |
258 |
|object|, |video|, and |audio| and checking for XML elements (and |
259 |
some XMLNS checkings) are dropped for now. They will be |
260 |
reimplemented in due cource. |
261 |
|
262 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
263 |
|
264 |
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
265 |
token (HTML5 revision 1225). |
266 |
|
267 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
268 |
|
269 |
* ContentChecker.pm ({unsupported_level}): New value. |
270 |
|
271 |
* HTML.pm.src: Save whether |meta| |content| attribute |
272 |
contains character references or not. |
273 |
|
274 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
275 |
|
276 |
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
277 |
imlement significant content checking for contents |
278 |
with |del| elements. |
279 |
|
280 |
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
281 |
|
282 |
* ContenteChecker.pm ($HTMLTransparentElements): More |
283 |
elements are added. |
284 |
(_get_children): HTML |object| elements are now semi-transparent. |
285 |
|
286 |
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
287 |
|
288 |
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
289 |
|
290 |
* CacheManifest.pm: HTML5 revision 1211 implemented. |
291 |
|
292 |
* CacheManifest.pod: Updated. |
293 |
|
294 |
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
295 |
|
296 |
* ContentChecker.pm (check_document, check_element): Support |
297 |
for second argument ($onsubdoc). |
298 |
(_get_css_parser): Removed (now it is part of WDCC). |
299 |
|
300 |
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
301 |
|
302 |
* ContentChecker.pm (_get_css_parser): New. |
303 |
|
304 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
305 |
|
306 |
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
307 |
for checking had been used. |
308 |
|
309 |
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
310 |
|
311 |
* ContentChecker.pm (check_element): New todo item type |descendant|. |
312 |
|
313 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
314 |
|
315 |
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
316 |
specced in RFC 2046 and RFC 4288. |
317 |
(application/atom+xml): Definition added. |
318 |
|
319 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
320 |
|
321 |
* URIChecker.pm: Make RFC 3986 should-level errors |
322 |
warnings (rather than SHOULD-level errors). |
323 |
|
324 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
325 |
|
326 |
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
327 |
|
328 |
* HTML.pm.src: A flag for character references in attribute |
329 |
values are added. Set |manakai_has_reference| user data |
330 |
to |charset| attribute. |
331 |
|
332 |
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
333 |
|
334 |
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
335 |
attributes. |
336 |
|
337 |
* ContentChecker.pm (check_document): Warn if charset requirements |
338 |
cannot be tested. |
339 |
|
340 |
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
341 |
|
342 |
* HTML.pm.src (parse_byte_string): Detect charset |
343 |
by universalchardet if charset parameter is not specified. |
344 |
|
345 |
* Makefile (Charset-all, Charset-clean): New rules. |
346 |
|
347 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
348 |
|
349 |
* ContentChecker.pm (check_document): Check the existence |
350 |
of character encoding declaration and selection of encoding |
351 |
for HTML document. |
352 |
|
353 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
354 |
|
355 |
* ContentType.pm (get_sniffed_type): Return also the official |
356 |
type in list context. |
357 |
|
358 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
359 |
|
360 |
* ContentType.pm: Sniffing with leading white space |
361 |
ignoring (HTML5 revisions 1013 and 1016). |
362 |
|
363 |
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
364 |
|
365 |
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
366 |
white spaces, are implemented. |
367 |
|
368 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
369 |
|
370 |
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
371 |
attribute if possible. |
372 |
|
373 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
374 |
|
375 |
* HTML.pm.src (parse_byte_string): New method. |
376 |
(parse_char_string): New alias for |parse_string|. |
377 |
(main phase): Invoking "change the encoding" algorithm if desired. |
378 |
|
379 |
* HTML.pod: Updated. |
380 |
|
381 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
382 |
|
383 |
* HTML.pod (get_inner_html): Removed. |
384 |
|
385 |
* Makefile (HTML-all, HTML-clean): New. |
386 |
|
387 |
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
388 |
|
389 |
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
390 |
|
391 |
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
392 |
|
393 |
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
394 |
|
395 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
396 |
|
397 |
* Makefile: |CacheManifest.html| is added. |
398 |
|
399 |
* CacheManifest.pod: New file. |
400 |
|
401 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
402 |
|
403 |
* CacheManifest.pm: New module. |
404 |
|
405 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
406 |
|
407 |
* HTML.pm.src: Support for application cache selection algorithm |
408 |
callback. |
409 |
|
410 |
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
411 |
|
412 |
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
413 |
|
414 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
415 |
|
416 |
* Makefile (clean): New rule. |
417 |
|
418 |
* NanoDOM.pm (public_id, system_id): New attributes. |
419 |
|
420 |
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
421 |
|
422 |
* Makefile (CSS-all, CSS-clean, clean): New rules. |
423 |
|
424 |
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
425 |
|
426 |
* ContentChecker.pm (check_document): Support for |
427 |
new |is_xml_root| flag. |
428 |
(check_element): Support for new |pluses| state. |
429 |
(_add_pluses): New method. |
430 |
(_remove_minuses): Support for new |minus| item. |
431 |
|
432 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
433 |
|
434 |
* ContentChecker.pm: Raise specific error for invalid |
435 |
root element. |
436 |
|
437 |
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
438 |
|
439 |
* ContentChecker.pm: Set level values for later uses. |
440 |
|
441 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
442 |
|
443 |
* ContentChecker.pm: Support for language tag validation. |
444 |
|
445 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
446 |
|
447 |
* LangTag.pm (check_rfc3066_language_tag): New method. |
448 |
|
449 |
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
450 |
|
451 |
* LangTag.pm: New module. |
452 |
|
453 |
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
454 |
|
455 |
* HTML.pm.src: Some error types were wrong. |
456 |
|
457 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
458 |
|
459 |
* CSS/: New directory. |
460 |
|
461 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
462 |
|
463 |
* ContentChecker.pm (_check_get_children): Support |
464 |
for |noscript| in |head|. |
465 |
|
466 |
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
467 |
|
468 |
* URI/: New directory. |
469 |
|
470 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
471 |
|
472 |
* HTML.pm.src: Tokenizer's states are now represented in |
473 |
number. |
474 |
|
475 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
476 |
|
477 |
* HTML.pm.src: |or|s for insertion modes are replaced |
478 |
by |&|s. |
479 |
|
480 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
481 |
|
482 |
* HTML.pm.src: Token types are now represented in number. |
483 |
|
484 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
485 |
|
486 |
* ContentType.pm (SEE ALSO): Updated. |
487 |
|
488 |
* HTML.pm.src: Insertion modes are now represented in number. |
489 |
|
490 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
491 |
|
492 |
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
493 |
999) is implemented. |
494 |
|
495 |
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
496 |
|
497 |
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
498 |
983) is implemented. |
499 |
|
500 |
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
501 |
|
502 |
* ContentChecker.pod: New documentation. |
503 |
|
504 |
* Makefile: A rule for |ContentChecker.html| is added. |
505 |
|
506 |
* ContentChecker.pm: A pod "LICENSE" section is added. |
507 |
|
508 |
* NanoDOM.pm ($VERSION): New variable. |
509 |
|
510 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
511 |
|
512 |
* H2H.pm: |b|, |i|, and |sub| are added to the |
513 |
list of allowed HTML elements. |
514 |
|
515 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
516 |
|
517 |
* H2H.pm: |samp| is added to the list of allowed |
518 |
HTML elements. |
519 |
|
520 |
* URIChecker.pm (check_iri): New. |
521 |
(check_iri_reference): Error type for IRI reference |
522 |
syntax error is changed. |
523 |
|
524 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
525 |
|
526 |
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
527 |
is added. |
528 |
(check_document): Load appropriate module before validation. |
529 |
|
530 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
531 |
|
532 |
* ContentChecker/: New directory. |
533 |
|
534 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
535 |
|
536 |
* ContentChecker.pm: HTML |time| element is implemented. |
537 |
|
538 |
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
539 |
|
540 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
541 |
|
542 |
* ContentChecker.pm (check_document): Return value |
543 |
even if no document element is found. |
544 |
|
545 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
546 |
|
547 |
* HTML.pm.src: |$in_body| is no longer a function. |
548 |
|
549 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
550 |
|
551 |
* HTML.pm.src: The |$in_body| code has been moved down. |
552 |
|
553 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
554 |
|
555 |
* HTML.pm.src: The "trailing end" insertion mode |
556 |
is split into "after html body" and "after html frameset" |
557 |
insertion modes. Their codes are merged with "after body" |
558 |
and "after frameset" codes. |$previous_insertion_mode| |
559 |
has been removed. "after frameset" code is |
560 |
merged with "in frameset" code. |
561 |
|
562 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
563 |
|
564 |
* HTML.pm.src: The "before head" insertion mode is |
565 |
merged with the "in head" insertion mode. |
566 |
|
567 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
568 |
|
569 |
* HTML.pm.src: Cases in "in head" insertion mode are |
570 |
reorganized. |
571 |
|
572 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
573 |
|
574 |
* HTML.pm.src: Some cases in "in table" insertion mode |
575 |
are merged. |
576 |
|
577 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
578 |
|
579 |
* HTML.pm.src: The "in row" insertion mode is merged |
580 |
with "in table" insertion mode. |
581 |
|
582 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
583 |
|
584 |
* HTML.pm.src: The "in table" and "in table body" insertion |
585 |
modes are merged. |
586 |
|
587 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
588 |
|
589 |
* HTML.pm.src: There is no "in table head" or "in table foot" |
590 |
insertion mode! |
591 |
|
592 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
593 |
|
594 |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
595 |
now directly invoke the handler. |
596 |
|
597 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
598 |
|
599 |
* HTML.pm.src: Codes for "in cell" insertion mode |
600 |
is merged to the "in body" insertion mode code. |
601 |
|
602 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
603 |
|
604 |
* HTML.pm.src: Codes for "in body" and "in caption" |
605 |
insertion modes are merged. |
606 |
|
607 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
608 |
|
609 |
* HTML.pm.src: Two |!!!next-token|s were missing. |
610 |
|
611 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
612 |
|
613 |
* HTML.pm.src: Use numeric constant for |{content_mode}| |
614 |
instead of string constant for |{content_model_flag}|. |
615 |
|
616 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
617 |
|
618 |
* HTML.pm.src: Add the name of the attribute |
619 |
to the "duplicate attribute" error. |
620 |
|
621 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
622 |
|
623 |
* ContentChecker.pm: Return the |class| node list. |
624 |
|
625 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
626 |
|
627 |
* ContentChecker.pm: Return the |id| node list. |
628 |
|
629 |
* HTML.pm.src: A typo is fixed. |
630 |
|
631 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
632 |
|
633 |
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
634 |
from "in HTML:xml:lang" error. Character position |
635 |
is now the last part of the error type in the URI error |
636 |
description. Report "unsupported" status for language |
637 |
tags, media queries, script codes, and style sheets. |
638 |
|
639 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
640 |
|
641 |
* ContentChecker.pm: Report error if |xml:lang| |
642 |
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
643 |
in XML. |
644 |
|
645 |
* NanoDOM.pm (Attr.owner_document): New attribute. |
646 |
|
647 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
648 |
|
649 |
* HTML.pm.src: The character immediately following |
650 |
a bare |hcro| was discarded. Fix handling of |
651 |
entity references in attribute values. |
652 |
|
653 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
654 |
|
655 |
* HTML.pm.src (main and trailin end phases): Token |
656 |
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
657 |
factored out. Error types |in html:#DOCTYPE| |
658 |
and |after html:#DOCTYPE| are merged |
659 |
into |DOCTYPE in the middle|. |</frameset>| |
660 |
in fragment parsing mode changed the |
661 |
insertion mode. |
662 |
|
663 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
664 |
|
665 |
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
666 |
phase is now an insertion mode. Treatments for white |
667 |
space character tokens were incorrect for some |
668 |
insertion modes. An old |meta| case was not removed. |
669 |
|
670 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
671 |
|
672 |
* HTML.pm.src: |meta| charset declaration extraction |
673 |
implemented (but changing the encoding is not yet:-). |
674 |
|
675 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
676 |
|
677 |
* Charset/: New directory. |
678 |
|
679 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
680 |
|
681 |
* H2H.pm: New Perl module (created from |
682 |
manakai's H2H.dis). |
683 |
|
684 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
685 |
|
686 |
* XMLSerializer.pm: New Perl module (created from |
687 |
manakai's SimpleLS.dis). |
688 |
|
689 |
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
690 |
|
691 |
* HTML.pm.src: |<!---x-->| was not processed correctly. |
692 |
|
693 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
694 |
|
695 |
* HTML.pm.src: Report correct error message |
696 |
for |<body></div></body>|. |
697 |
|
698 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
699 |
|
700 |
* HTMLTable.pm: An error description was incorrect. |
701 |
|
702 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
703 |
|
704 |
* ContentChecker.pm: Return |{term}| list. |
705 |
|
706 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
707 |
|
708 |
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
709 |
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
710 |
and <title> outside of head). |
711 |
|
712 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
713 |
|
714 |
* IMTChecker.pm: Report warning for unregistered |
715 |
and private types/subtypes. |
716 |
|
717 |
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
718 |
URIChecker.pm, HTMLTable.pm: Error messages are now |
719 |
consistent; they are all listed in |
720 |
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
721 |
|
722 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
723 |
|
724 |
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
725 |
is now erred. |<datalist>| is implemented. |
726 |
Attribute checker for |<command>| and |<menu>| are |
727 |
added. Support for |contextmenu| global attribute |
728 |
is added. |
729 |
|
730 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
731 |
|
732 |
* HTML.pm.src (_reset_insertion_mode): Interpretation |
733 |
of Step 3 has been changed. |
734 |
|
735 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
736 |
|
737 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
738 |
|
739 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
740 |
|
741 |
* URIChecker.pm (check_iri_reference): A |decode| method name was |
742 |
incorrect. |
743 |
|
744 |
* ContentChecker.pm: Support for the |footer| element. |
745 |
Check URI syntax for space-separated URI attributes. |
746 |
Support for the |tabindex| attribute. Support |
747 |
for |datetime| attribute. |
748 |
|
749 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
750 |
|
751 |
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
752 |
character references). HTML5 revision 1.146 (white space |
753 |
characters before root start tag). HTML5 revision |
754 |
1.148 (named character references in attribute values). |
755 |
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
756 |
|
757 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
758 |
|
759 |
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
760 |
in <head>). |
761 |
|
762 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
763 |
|
764 |
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
765 |
in body). |
766 |
|
767 |
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
768 |
|
769 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
770 |
|
771 |
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
772 |
or RCDATA in fragment parsing mode). HTML5 revision |
773 |
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
774 |
|
775 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
776 |
|
777 |
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
778 |
for <pre> and <textarea>). |
779 |
|
780 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
781 |
|
782 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
783 |
|
784 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
785 |
|
786 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
787 |
|
788 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
789 |
|
790 |
* HTML.pm.src: HTML5 revision 916 (</body>). |
791 |
HTML5 revision 917 (conforming bare &). |
792 |
|
793 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
794 |
|
795 |
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
796 |
|
797 |
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
798 |
HTML5 revision 915 (<nobr>). |
799 |
|
800 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
801 |
|
802 |
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
803 |
|
804 |
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
805 |
New attributes. |
806 |
|
807 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
808 |
|
809 |
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
810 |
in tags). |
811 |
|
812 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
813 |
|
814 |
* .cvsignore: |Entities.html| is added. |
815 |
|
816 |
* HTML.pm.src: |$entity_char| is removed and |
817 |
requires |Whatpm::_NamedEntityList| instead. |
818 |
HTML5 revision 898 (refc), except that lack of refc |
819 |
is parse error. |
820 |
|
821 |
* mkentitylist.pl: New script. |
822 |
|
823 |
* Makefile (all): |_NamedEntityList.pm| is added. |
824 |
(_NamedEntityList.pm, Entities.html): New rules. |
825 |
|
826 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
827 |
|
828 |
* HTML.pm.src: Parse errors immediately after U+000D |
829 |
were ignored and U+000D immediately following another |
830 |
U+000D was not converted to U+000A. |
831 |
|
832 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
833 |
|
834 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
835 |
nodes before appended). Parser was not ready for NULL |
836 |
parse error and escape flag. |
837 |
|
838 |
* NanoDOM.pm (adopt_node): New. |
839 |
|
840 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
841 |
|
842 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
843 |
CDATA and RCDATA). Note that current implementation |
844 |
is simply repeating what the spec says and it is maybe not |
845 |
a best way to do it. |
846 |
|
847 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
848 |
|
849 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
850 |
the form element if a descendant element without implied end tag has |
851 |
still been open). |
852 |
|
853 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
854 |
|
855 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
856 |
space characters non-conforming). |
857 |
|
858 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
859 |
|
860 |
* HTML.pm.src: An error message was incorrect. |
861 |
HTML5 revision 869 (C1 character references). |
862 |
|
863 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
864 |
|
865 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
866 |
a |textarea| is removed). |
867 |
|
868 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
869 |
|
870 |
* NanoDOM.pm (get_attribute_node_ns): New method. |
871 |
|
872 |
* ContentChecker.pm: |script| |async| and |defer| |
873 |
no longer require |src|. |async| MUST NOT be |
874 |
specified if |defer|. (HTML5 revision 858). |
875 |
|
876 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
877 |
|
878 |
* HTML.pm.src: |<form><form>| went to inifinite loop. |
879 |
|
880 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
881 |
|
882 |
* ContentChecker.pm (html): Set |is_root| (allowed |
883 |
as a document element) flag on. |
884 |
(new): Removed. |
885 |
(check_document): New method. |
886 |
|
887 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
888 |
|
889 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
890 |
were incorrect. |
891 |
|
892 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
893 |
|
894 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
895 |
error position in the |type| option of the error. |
896 |
|
897 |
* HTMLTable.pm (form_table): The |$onerror| parameter |
898 |
is now optional. Some bugs are fixed. |
899 |
|
900 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
901 |
|
902 |
* HTMLTable.pm: New module. |
903 |
|
904 |
* ContentChecker.pm (table): Invoke table model error checker. |
905 |
|
906 |
* NanoDOM.pm (first_child, get_attribute_ns): New. |
907 |
|
908 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
909 |
|
910 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
911 |
(link/@rel, a/@rel, area/@rel): Use new checker. |
912 |
|
913 |
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
914 |
|
915 |
* _LinkTypeList.pm: New file. |
916 |
|
917 |
* mklinktypelist.pl: New file. |
918 |
|
919 |
* .cvsignore: |RelExtensions.html| added. |
920 |
|
921 |
* NanoDOM.pm (child_nodes): Returns an empty array |
922 |
for non-child-containing node types. |
923 |
(text_content): New attribute. |
924 |
|
925 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
926 |
|
927 |
* IMTChecker.pm: New module. |
928 |
|
929 |
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
930 |
to test parameter value validity. |
931 |
|
932 |
* HTML.pm.src ($style_start_tag): Attributes were |
933 |
discarded. |
934 |
|
935 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
936 |
|
937 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
938 |
|
939 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
940 |
|
941 |
* URIChecker.pm: All recommendations from RFC 3986 |
942 |
and RFC 3987 are listed (not all testable items are checked yet). |
943 |
|
944 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
945 |
|
946 |
* URIChecker.pm: New module. |
947 |
|
948 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
949 |
|
950 |
* ContentChecker.pm: Now most attributes are implemented |
951 |
or associated to some placeholder. |
952 |
($ElementDefault): Warn unknown attributes |
953 |
for unknown elements as "attribute not supported". |
954 |
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
955 |
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
956 |
(|a| attribute checker): Reimplemented. |
957 |
|
958 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
959 |
|
960 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
961 |
($HTMLAttrChecker): Event handler content attributes |
962 |
are added. |
963 |
(link, embed): Required attribute is now checked. |
964 |
(embed): Unknown local attributes are no longer warned. |
965 |
|
966 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
967 |
|
968 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
969 |
($HTMLIMTAttrChecker): New checker. |
970 |
(link@rel, link@href, link@type, style@type, |
971 |
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
972 |
object@data, object@type, source@src, source@type, area@alt, |
973 |
area@shape, area@coords, area@href, |
974 |
area@ping, area@rel, area@type, script@src, |
975 |
script@defer, script@async, script@type): Checkers added. |
976 |
|
977 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
978 |
|
979 |
* ContentChecker.pm: Descendant checking was incorrect. |
980 |
|
981 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
982 |
|
983 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
984 |
attributes. Report an error if |Element.prefix| |
985 |
is |xmlns|. |
986 |
|
987 |
* NanoDOM.pm (prefix): New attribute. |
988 |
|
989 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
990 |
|
991 |
* HTML.pm.src: In |main| phase, |in body| insertion |
992 |
mode, action for |<iframe>| was missing. |
993 |
|
994 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
995 |
|
996 |
* ContentChecker.pm: Support for many of HTML5 elements. |
997 |
($GetHTMLNonNegativeIntegerAttrChecker): New. |
998 |
|
999 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1000 |
|
1001 |
* ContentChecker.pm: Support for most elements up to |progress|. |
1002 |
($HTMLURIAttrChecker): Placeholder. |
1003 |
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
1004 |
New. |
1005 |
|
1006 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1007 |
|
1008 |
* ContentChecker.pm: Attribute checkers |
1009 |
for global attributes, |html|, |base|, |style|, and |meta|. |
1010 |
|
1011 |
* NanoDOM.pm (insert_before): Weaken reference |
1012 |
to the parent node. |
1013 |
(Attr::new): Set |owner_element| attribute. |
1014 |
(namespace_uri, manakai_local_name): New attribute implementations. |
1015 |
(owner_element): New attribute. |
1016 |
|
1017 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
1018 |
|
1019 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
1020 |
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
1021 |
$Element->{$HTML_NS}->{''}): New. |
1022 |
(check_element): Invoke attrs_checker for each element. |
1023 |
|
1024 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1025 |
|
1026 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
1027 |
|
1028 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1029 |
|
1030 |
* ContentChecker.pm: Use hashs rather than lists for |
1031 |
element type testings. |
1032 |
|
1033 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1034 |
|
1035 |
* ContentChecker.pm: Don't generate duplicate |
1036 |
error when an element type is put in the "minus" list |
1037 |
and the element type is not allowed explicitly in the particular |
1038 |
element content model. |
1039 |
(html:a checker): New checker. |
1040 |
(html:details, html:datagrid): New checkers. |
1041 |
(html:legend): New checker. |
1042 |
|
1043 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1044 |
|
1045 |
* ContentChecker.pm (html:li checker): Implemented. |
1046 |
|
1047 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1048 |
|
1049 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
1050 |
checker. |
1051 |
(html:dd checker): New checker. |
1052 |
(html:q, html:em, html:strong, html:small, |
1053 |
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
1054 |
|
1055 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
1056 |
|
1057 |
* ContentChecker.pm ($AnyChecker): Renamed |
1058 |
from |$ElementDefault->{checker}|. |
1059 |
($ElementDefault->{checker}): Throw an error that |
1060 |
the element type is not supported by the checker. |
1061 |
($HTMLMetadataElement): |html:base| was missing. |
1062 |
($HTMLEmptyChecker): Don't throw an error |
1063 |
for inter-element whitespace nodes. |
1064 |
(html:html checker): Errors were not |
1065 |
thrown even if |html:head| and/or |html:body| |
1066 |
children were missing. |
1067 |
(html:head checker): An error was not |
1068 |
thrown if <meta charset> appered after other |
1069 |
elements. |
1070 |
|
1071 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
1072 |
|
1073 |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
1074 |
and |noscript| elements are implemented. |
1075 |
(new): New method. |
1076 |
|
1077 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
1078 |
|
1079 |
* ContentChecker.pm: New module. |
1080 |
|
1081 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
1082 |
|
1083 |
* NanoDOM.pm (manakai_parent_element, |
1084 |
document_element, manakai_local_name, |
1085 |
manakai_element_type_match): New method. |
1086 |
|
1087 |
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
1088 |
|
1089 |
* HTML.pm.src: Replace decimal and hexadecimal numeric |
1090 |
entities in C1 range using Windows-1252 mapping. Bare LF |
1091 |
did not count as new line for error reporting. |
1092 |
|
1093 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
1094 |
|
1095 |
* NanoDOM.pm (DOMImplementation): New class. |
1096 |
(append_child): Weaken the |parent_node| reference. |
1097 |
(create_element_ns, Element new): Set the |owner_document| |
1098 |
reference. |
1099 |
(implementation): New attribute. |
1100 |
(owner_document, local_name, namespace_uri): New attributes. |
1101 |
|
1102 |
* HTML.pm.src (parse_string): Line and column numbers |
1103 |
are now provided to error handler. |
1104 |
(!!!parse-error): Short descriptions are added. |
1105 |
(_construct_tree): Split into three methods; support |
1106 |
for innerHTML mode. |
1107 |
(set_inner_html): New method. |
1108 |
|
1109 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1110 |
|
1111 |
* NanoDOM.html: Documentation is added. |
1112 |
|
1113 |
* HTML.pod, ContentType.html: Documentation is revised. |
1114 |
|
1115 |
* .cvsignore: Pod2html temporary files are added. |
1116 |
|
1117 |
* Makefile: Make |NanoDOM.html|. |
1118 |
|
1119 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1120 |
|
1121 |
* HTML.pm.src (parse_string): New method. |
1122 |
(get_inner_html): Renamed from |inner_html|. |
1123 |
|
1124 |
* Makefile: A rule for |HTML.html| is added. |
1125 |
|
1126 |
* HTML.pod: New documentation. |
1127 |
|
1128 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
1129 |
|
1130 |
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
1131 |
(clone_node): Attribute nodes were not completely copied. |
1132 |
|
1133 |
* HTML.pm.src: Many bugs are fixed. |
1134 |
|
1135 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1136 |
|
1137 |
* HTML.pm.src: Some typos are fixed. |
1138 |
|
1139 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1140 |
|
1141 |
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
1142 |
are removed. |
1143 |
|
1144 |
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
1145 |
|
1146 |
* HTML-consume-entity.src: Removed. |
1147 |
|
1148 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1149 |
|
1150 |
* HTML.pm.src: Tokenizer's handling on hexadecimal |
1151 |
numeric entities are rewritten. |
1152 |
|
1153 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1154 |
|
1155 |
* HTML.pm.src: Some tokenizer bugs are fixed. |
1156 |
|
1157 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
1158 |
|
1159 |
* HTML.pm.src: The tree construction stage is implemented. |
1160 |
|
1161 |
* mkhtmlparser.pl: New macros are added. |
1162 |
|
1163 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
1164 |
|
1165 |
* ContentType.pm: A note on bug in the specification |
1166 |
is removed since it's been now fixed. |
1167 |
|
1168 |
* .cvsignore: New file. |
1169 |
|
1170 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
1171 |
|
1172 |
* HTML.pm.src, HTML-consume-entity.src: New files. |
1173 |
|
1174 |
* Makefile (HTML.pm): New rule. |
1175 |
|
1176 |
* mkhtmlparser.pl: New script. |
1177 |
|
1178 |
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
1179 |
|
1180 |
* Makefile: New file. |
1181 |
|
1182 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1183 |
|
1184 |
* ContentType.pm: An error in pod is fixed. |
1185 |
|
1186 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1187 |
|
1188 |
* ContentType.pm: Documentation is added. |
1189 |
|
1190 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
1191 |
|
1192 |
* ContentType.pm: New Perl module. |
1193 |
|
1194 |
* ChangeLog: New file. |
1195 |
|
1196 |
|