1 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* HTML.pm.src (_reset_insertion_mode): Interpretation |
4 |
of Step 3 has been changed. |
5 |
|
6 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
7 |
|
8 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
9 |
|
10 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
11 |
|
12 |
* URIChecker.pm (check_iri_reference): A |decode| method name was |
13 |
incorrect. |
14 |
|
15 |
* ContentChecker.pm: Support for the |footer| element. |
16 |
Check URI syntax for space-separated URI attributes. |
17 |
Support for the |tabindex| attribute. Support |
18 |
for |datetime| attribute. |
19 |
|
20 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
21 |
|
22 |
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
23 |
character references). HTML5 revision 1.146 (white space |
24 |
characters before root start tag). HTML5 revision |
25 |
1.148 (named character references in attribute values). |
26 |
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
27 |
|
28 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
29 |
|
30 |
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
31 |
in <head>). |
32 |
|
33 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
34 |
|
35 |
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
36 |
in body). |
37 |
|
38 |
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
39 |
|
40 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
41 |
|
42 |
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
43 |
or RCDATA in fragment parsing mode). HTML5 revision |
44 |
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
45 |
|
46 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
47 |
|
48 |
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
49 |
for <pre> and <textarea>). |
50 |
|
51 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
52 |
|
53 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
54 |
|
55 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
56 |
|
57 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
58 |
|
59 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
60 |
|
61 |
* HTML.pm.src: HTML5 revision 916 (</body>). |
62 |
HTML5 revision 917 (conforming bare &). |
63 |
|
64 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
65 |
|
66 |
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
67 |
|
68 |
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
69 |
HTML5 revision 915 (<nobr>). |
70 |
|
71 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
72 |
|
73 |
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
74 |
|
75 |
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
76 |
New attributes. |
77 |
|
78 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
79 |
|
80 |
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
81 |
in tags). |
82 |
|
83 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
84 |
|
85 |
* .cvsignore: |Entities.html| is added. |
86 |
|
87 |
* HTML.pm.src: |$entity_char| is removed and |
88 |
requires |Whatpm::_NamedEntityList| instead. |
89 |
HTML5 revision 898 (refc), except that lack of refc |
90 |
is parse error. |
91 |
|
92 |
* mkentitylist.pl: New script. |
93 |
|
94 |
* Makefile (all): |_NamedEntityList.pm| is added. |
95 |
(_NamedEntityList.pm, Entities.html): New rules. |
96 |
|
97 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
98 |
|
99 |
* HTML.pm.src: Parse errors immediately after U+000D |
100 |
were ignored and U+000D immediately following another |
101 |
U+000D was not converted to U+000A. |
102 |
|
103 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
104 |
|
105 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
106 |
nodes before appended). Parser was not ready for NULL |
107 |
parse error and escape flag. |
108 |
|
109 |
* NanoDOM.pm (adopt_node): New. |
110 |
|
111 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
112 |
|
113 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
114 |
CDATA and RCDATA). Note that current implementation |
115 |
is simply repeating what the spec says and it is maybe not |
116 |
a best way to do it. |
117 |
|
118 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
119 |
|
120 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
121 |
the form element if a descendant element without implied end tag has |
122 |
still been open). |
123 |
|
124 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
125 |
|
126 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
127 |
space characters non-conforming). |
128 |
|
129 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
130 |
|
131 |
* HTML.pm.src: An error message was incorrect. |
132 |
HTML5 revision 869 (C1 character references). |
133 |
|
134 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
135 |
|
136 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
137 |
a |textarea| is removed). |
138 |
|
139 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
140 |
|
141 |
* NanoDOM.pm (get_attribute_node_ns): New method. |
142 |
|
143 |
* ContentChecker.pm: |script| |async| and |defer| |
144 |
no longer require |src|. |async| MUST NOT be |
145 |
specified if |defer|. (HTML5 revision 858). |
146 |
|
147 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
148 |
|
149 |
* HTML.pm.src: |<form><form>| went to inifinite loop. |
150 |
|
151 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
152 |
|
153 |
* ContentChecker.pm (html): Set |is_root| (allowed |
154 |
as a document element) flag on. |
155 |
(new): Removed. |
156 |
(check_document): New method. |
157 |
|
158 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
159 |
|
160 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
161 |
were incorrect. |
162 |
|
163 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
164 |
|
165 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
166 |
error position in the |type| option of the error. |
167 |
|
168 |
* HTMLTable.pm (form_table): The |$onerror| parameter |
169 |
is now optional. Some bugs are fixed. |
170 |
|
171 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
172 |
|
173 |
* HTMLTable.pm: New module. |
174 |
|
175 |
* ContentChecker.pm (table): Invoke table model error checker. |
176 |
|
177 |
* NanoDOM.pm (first_child, get_attribute_ns): New. |
178 |
|
179 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
180 |
|
181 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
182 |
(link/@rel, a/@rel, area/@rel): Use new checker. |
183 |
|
184 |
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
185 |
|
186 |
* _LinkTypeList.pm: New file. |
187 |
|
188 |
* mklinktypelist.pl: New file. |
189 |
|
190 |
* .cvsignore: |RelExtensions.html| added. |
191 |
|
192 |
* NanoDOM.pm (child_nodes): Returns an empty array |
193 |
for non-child-containing node types. |
194 |
(text_content): New attribute. |
195 |
|
196 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
197 |
|
198 |
* IMTChecker.pm: New module. |
199 |
|
200 |
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
201 |
to test parameter value validity. |
202 |
|
203 |
* HTML.pm.src ($style_start_tag): Attributes were |
204 |
discarded. |
205 |
|
206 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
207 |
|
208 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
209 |
|
210 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
211 |
|
212 |
* URIChecker.pm: All recommendations from RFC 3986 |
213 |
and RFC 3987 are listed (not all testable items are checked yet). |
214 |
|
215 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
216 |
|
217 |
* URIChecker.pm: New module. |
218 |
|
219 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
220 |
|
221 |
* ContentChecker.pm: Now most attributes are implemented |
222 |
or associated to some placeholder. |
223 |
($ElementDefault): Warn unknown attributes |
224 |
for unknown elements as "attribute not supported". |
225 |
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
226 |
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
227 |
(|a| attribute checker): Reimplemented. |
228 |
|
229 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
230 |
|
231 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
232 |
($HTMLAttrChecker): Event handler content attributes |
233 |
are added. |
234 |
(link, embed): Required attribute is now checked. |
235 |
(embed): Unknown local attributes are no longer warned. |
236 |
|
237 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
238 |
|
239 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
240 |
($HTMLIMTAttrChecker): New checker. |
241 |
(link@rel, link@href, link@type, style@type, |
242 |
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
243 |
object@data, object@type, source@src, source@type, area@alt, |
244 |
area@shape, area@coords, area@href, |
245 |
area@ping, area@rel, area@type, script@src, |
246 |
script@defer, script@async, script@type): Checkers added. |
247 |
|
248 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
249 |
|
250 |
* ContentChecker.pm: Descendant checking was incorrect. |
251 |
|
252 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
253 |
|
254 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
255 |
attributes. Report an error if |Element.prefix| |
256 |
is |xmlns|. |
257 |
|
258 |
* NanoDOM.pm (prefix): New attribute. |
259 |
|
260 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
261 |
|
262 |
* HTML.pm.src: In |main| phase, |in body| insertion |
263 |
mode, action for |<iframe>| was missing. |
264 |
|
265 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
266 |
|
267 |
* ContentChecker.pm: Support for many of HTML5 elements. |
268 |
($GetHTMLNonNegativeIntegerAttrChecker): New. |
269 |
|
270 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
271 |
|
272 |
* ContentChecker.pm: Support for most elements up to |progress|. |
273 |
($HTMLURIAttrChecker): Placeholder. |
274 |
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
275 |
New. |
276 |
|
277 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
278 |
|
279 |
* ContentChecker.pm: Attribute checkers |
280 |
for global attributes, |html|, |base|, |style|, and |meta|. |
281 |
|
282 |
* NanoDOM.pm (insert_before): Weaken reference |
283 |
to the parent node. |
284 |
(Attr::new): Set |owner_element| attribute. |
285 |
(namespace_uri, manakai_local_name): New attribute implementations. |
286 |
(owner_element): New attribute. |
287 |
|
288 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
289 |
|
290 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
291 |
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
292 |
$Element->{$HTML_NS}->{''}): New. |
293 |
(check_element): Invoke attrs_checker for each element. |
294 |
|
295 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
296 |
|
297 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
298 |
|
299 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
300 |
|
301 |
* ContentChecker.pm: Use hashs rather than lists for |
302 |
element type testings. |
303 |
|
304 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
305 |
|
306 |
* ContentChecker.pm: Don't generate duplicate |
307 |
error when an element type is put in the "minus" list |
308 |
and the element type is not allowed explicitly in the particular |
309 |
element content model. |
310 |
(html:a checker): New checker. |
311 |
(html:details, html:datagrid): New checkers. |
312 |
(html:legend): New checker. |
313 |
|
314 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
315 |
|
316 |
* ContentChecker.pm (html:li checker): Implemented. |
317 |
|
318 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
319 |
|
320 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
321 |
checker. |
322 |
(html:dd checker): New checker. |
323 |
(html:q, html:em, html:strong, html:small, |
324 |
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
325 |
|
326 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
327 |
|
328 |
* ContentChecker.pm ($AnyChecker): Renamed |
329 |
from |$ElementDefault->{checker}|. |
330 |
($ElementDefault->{checker}): Throw an error that |
331 |
the element type is not supported by the checker. |
332 |
($HTMLMetadataElement): |html:base| was missing. |
333 |
($HTMLEmptyChecker): Don't throw an error |
334 |
for inter-element whitespace nodes. |
335 |
(html:html checker): Errors were not |
336 |
thrown even if |html:head| and/or |html:body| |
337 |
children were missing. |
338 |
(html:head checker): An error was not |
339 |
thrown if <meta charset> appered after other |
340 |
elements. |
341 |
|
342 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
343 |
|
344 |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
345 |
and |noscript| elements are implemented. |
346 |
(new): New method. |
347 |
|
348 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
349 |
|
350 |
* ContentChecker.pm: New module. |
351 |
|
352 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
353 |
|
354 |
* NanoDOM.pm (manakai_parent_element, |
355 |
document_element, manakai_local_name, |
356 |
manakai_element_type_match): New method. |
357 |
|
358 |
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
359 |
|
360 |
* HTML.pm.src: Replace decimal and hexadecimal numeric |
361 |
entities in C1 range using Windows-1252 mapping. Bare LF |
362 |
did not count as new line for error reporting. |
363 |
|
364 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
365 |
|
366 |
* NanoDOM.pm (DOMImplementation): New class. |
367 |
(append_child): Weaken the |parent_node| reference. |
368 |
(create_element_ns, Element new): Set the |owner_document| |
369 |
reference. |
370 |
(implementation): New attribute. |
371 |
(owner_document, local_name, namespace_uri): New attributes. |
372 |
|
373 |
* HTML.pm.src (parse_string): Line and column numbers |
374 |
are now provided to error handler. |
375 |
(!!!parse-error): Short descriptions are added. |
376 |
(_construct_tree): Split into three methods; support |
377 |
for innerHTML mode. |
378 |
(set_inner_html): New method. |
379 |
|
380 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
381 |
|
382 |
* NanoDOM.html: Documentation is added. |
383 |
|
384 |
* HTML.pod, ContentType.html: Documentation is revised. |
385 |
|
386 |
* .cvsignore: Pod2html temporary files are added. |
387 |
|
388 |
* Makefile: Make |NanoDOM.html|. |
389 |
|
390 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
391 |
|
392 |
* HTML.pm.src (parse_string): New method. |
393 |
(get_inner_html): Renamed from |inner_html|. |
394 |
|
395 |
* Makefile: A rule for |HTML.html| is added. |
396 |
|
397 |
* HTML.pod: New documentation. |
398 |
|
399 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
400 |
|
401 |
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
402 |
(clone_node): Attribute nodes were not completely copied. |
403 |
|
404 |
* HTML.pm.src: Many bugs are fixed. |
405 |
|
406 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
407 |
|
408 |
* HTML.pm.src: Some typos are fixed. |
409 |
|
410 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
411 |
|
412 |
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
413 |
are removed. |
414 |
|
415 |
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
416 |
|
417 |
* HTML-consume-entity.src: Removed. |
418 |
|
419 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
420 |
|
421 |
* HTML.pm.src: Tokenizer's handling on hexadecimal |
422 |
numeric entities are rewritten. |
423 |
|
424 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
425 |
|
426 |
* HTML.pm.src: Some tokenizer bugs are fixed. |
427 |
|
428 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
429 |
|
430 |
* HTML.pm.src: The tree construction stage is implemented. |
431 |
|
432 |
* mkhtmlparser.pl: New macros are added. |
433 |
|
434 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
435 |
|
436 |
* ContentType.pm: A note on bug in the specification |
437 |
is removed since it's been now fixed. |
438 |
|
439 |
* .cvsignore: New file. |
440 |
|
441 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
442 |
|
443 |
* HTML.pm.src, HTML-consume-entity.src: New files. |
444 |
|
445 |
* Makefile (HTML.pm): New rule. |
446 |
|
447 |
* mkhtmlparser.pl: New script. |
448 |
|
449 |
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
450 |
|
451 |
* Makefile: New file. |
452 |
|
453 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
454 |
|
455 |
* ContentType.pm: An error in pod is fixed. |
456 |
|
457 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
458 |
|
459 |
* ContentType.pm: Documentation is added. |
460 |
|
461 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
462 |
|
463 |
* ContentType.pm: New Perl module. |
464 |
|
465 |
* ChangeLog: New file. |
466 |
|
467 |
|