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