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