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