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