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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.209 - (hide annotations) (download)
Sat Apr 12 10:41:30 2008 UTC (16 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.208: +5 -0 lines
++ whatpm/t/ChangeLog	12 Apr 2008 10:41:08 -0000
	* HTML-tokenizer.t: Remove "self-closing flag" if the start
	tag token is that of a slash permitted element (This is necessary
	to maintain compatibility with current test data, since in the
	new algorithm whether slash is permitted or not is decided in
	tree construction stage).

2008-04-12  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	12 Apr 2008 10:38:11 -0000
2008-04-12  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors
	are raised is changed (HTML5 revision 1404).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24