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