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