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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.240 - (show annotations) (download)
Sat May 24 09:59:52 2008 UTC (17 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.239: +5 -0 lines
++ whatpm/Whatpm/ChangeLog	24 May 2008 09:59:36 -0000
	* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML
	work (HTML5 revision 1690).

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24