/[suikacvs]/markup/html/whatpm/Whatpm/ChangeLog
Suika

Contents of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.176 - (show annotations) (download)
Sun Mar 9 03:46:43 2008 UTC (18 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.175: +5 -0 lines
++ whatpm/t/ChangeLog	9 Mar 2008 03:33:47 -0000
	* tree-test-1.dat, tree-test-2.dat: Test data on white space
	between <html> and <head> are added (HTML5 revision 1332).

2008-03-09  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	9 Mar 2008 03:29:08 -0000
	* HTML.pm.src: Ignore white space characters between <html>
	and <head> (HTML5 revision 1332).

2008-03-09  Wakaba  <wakaba@suika.fam.cx>

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24