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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.223 - (show annotations) (download)
Mon May 5 04:41:32 2008 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.222: +6 -0 lines
++ whatpm/t/ChangeLog	5 May 2008 04:29:27 -0000
	* ContentType.t: "text/plain; charset=UTF-8" and Content-Encoding
	are no longer safe; test data for them are added (HTML5 revision 1288).

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

++ whatpm/Whatpm/ChangeLog	5 May 2008 04:30:06 -0000
	* ContentType.pm: "Content-Type: text/plain; charset=UTF-8"
	and "Content-Encoding" no longer prevent sniffing (HTML5
	revision 1288).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24