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