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