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