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