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