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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.147 - (hide annotations) (download)
Tue Feb 26 08:27:59 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.146: +7 -0 lines
++ whatpm/Whatpm/ChangeLog	26 Feb 2008 08:22:33 -0000
2008-02-26  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm: New status constants are added.
	($ElementDefault): |status| added.
	(check_element): Err for non-standard or deprecated elements.
	(_attr_status_info): For non-standard or deprecated attributes.

++ whatpm/Whatpm/ContentChecker/ChangeLog	26 Feb 2008 08:27:45 -0000
	* HTML.pm: HTML5 status constants are OR-ed with "allowed" status.
	Don't raise "not defined" errors; they are now raised according
	to status flags.  Status flags of li/@value, ol/@start, and menu
	are now non-deprecated, to avoid deprecated error message.
	area/@hreftype typo fixed.  |isindex| SHOULD NOT be used
	according to HTML4.

2008-02-26  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24