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