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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.160 - (show annotations) (download)
Wed Mar 5 13:07:01 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.159: +5 -0 lines
++ whatpm/t/ChangeLog	5 Mar 2008 13:06:44 -0000
	* HTML-tree.t: Support for \Uhhhhhhhh escapes.  Support for
	dumping PUBLIC and SYSTEM identifiers of DOCTYPE tokens.

	* tree-test-1.dat, tree-test-2.dat: More test data for previously
	uncovered cases are added.  Some error descriptions are revised.

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

++ whatpm/Whatpm/ChangeLog	5 Mar 2008 13:04:50 -0000
	* HTML.pm.src: Since the case t268 should never be reached (no
	other token type, there are), it is replaced by a |die| statement.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24