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