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