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