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