1 |
wakaba |
1.100 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
wakaba |
1.101 |
* CSS/: New directory. |
4 |
|
|
|
5 |
|
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
|
7 |
wakaba |
1.100 |
* ContentChecker.pm (_check_get_children): Support |
8 |
|
|
for |noscript| in |head|. |
9 |
|
|
|
10 |
wakaba |
1.99 |
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
|
12 |
|
|
* URI/: New directory. |
13 |
|
|
|
14 |
wakaba |
1.94 |
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
|
16 |
wakaba |
1.98 |
* HTML.pm.src: Tokenizer's states are now represented in |
17 |
|
|
number. |
18 |
|
|
|
19 |
|
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
|
21 |
wakaba |
1.97 |
* HTML.pm.src: |or|s for insertion modes are replaced |
22 |
|
|
by |&|s. |
23 |
|
|
|
24 |
|
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
|
26 |
wakaba |
1.96 |
* HTML.pm.src: Token types are now represented in number. |
27 |
|
|
|
28 |
|
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
|
30 |
wakaba |
1.95 |
* ContentType.pm (SEE ALSO): Updated. |
31 |
|
|
|
32 |
|
|
* HTML.pm.src: Insertion modes are now represented in number. |
33 |
|
|
|
34 |
|
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
|
36 |
wakaba |
1.94 |
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
37 |
|
|
999) is implemented. |
38 |
|
|
|
39 |
wakaba |
1.93 |
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
|
41 |
|
|
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
42 |
|
|
983) is implemented. |
43 |
|
|
|
44 |
wakaba |
1.92 |
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
|
46 |
|
|
* ContentChecker.pod: New documentation. |
47 |
|
|
|
48 |
|
|
* Makefile: A rule for |ContentChecker.html| is added. |
49 |
|
|
|
50 |
|
|
* ContentChecker.pm: A pod "LICENSE" section is added. |
51 |
|
|
|
52 |
|
|
* NanoDOM.pm ($VERSION): New variable. |
53 |
|
|
|
54 |
wakaba |
1.90 |
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
|
56 |
wakaba |
1.91 |
* H2H.pm: |b|, |i|, and |sub| are added to the |
57 |
|
|
list of allowed HTML elements. |
58 |
|
|
|
59 |
|
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
|
61 |
wakaba |
1.90 |
* H2H.pm: |samp| is added to the list of allowed |
62 |
|
|
HTML elements. |
63 |
|
|
|
64 |
|
|
* URIChecker.pm (check_iri): New. |
65 |
|
|
(check_iri_reference): Error type for IRI reference |
66 |
|
|
syntax error is changed. |
67 |
|
|
|
68 |
wakaba |
1.87 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
|
70 |
wakaba |
1.89 |
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
71 |
|
|
is added. |
72 |
|
|
(check_document): Load appropriate module before validation. |
73 |
|
|
|
74 |
|
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
|
76 |
wakaba |
1.88 |
* ContentChecker/: New directory. |
77 |
|
|
|
78 |
|
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
|
80 |
wakaba |
1.87 |
* ContentChecker.pm: HTML |time| element is implemented. |
81 |
|
|
|
82 |
|
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
83 |
|
|
|
84 |
wakaba |
1.71 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
|
86 |
wakaba |
1.86 |
* ContentChecker.pm (check_document): Return value |
87 |
|
|
even if no document element is found. |
88 |
|
|
|
89 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
|
91 |
wakaba |
1.85 |
* HTML.pm.src: |$in_body| is no longer a function. |
92 |
|
|
|
93 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
|
95 |
wakaba |
1.84 |
* HTML.pm.src: The |$in_body| code has been moved down. |
96 |
|
|
|
97 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
|
99 |
wakaba |
1.83 |
* HTML.pm.src: The "trailing end" insertion mode |
100 |
|
|
is split into "after html body" and "after html frameset" |
101 |
|
|
insertion modes. Their codes are merged with "after body" |
102 |
|
|
and "after frameset" codes. |$previous_insertion_mode| |
103 |
|
|
has been removed. "after frameset" code is |
104 |
|
|
merged with "in frameset" code. |
105 |
|
|
|
106 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
|
108 |
wakaba |
1.82 |
* HTML.pm.src: The "before head" insertion mode is |
109 |
|
|
merged with the "in head" insertion mode. |
110 |
|
|
|
111 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
|
113 |
wakaba |
1.81 |
* HTML.pm.src: Cases in "in head" insertion mode are |
114 |
|
|
reorganized. |
115 |
|
|
|
116 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
|
118 |
wakaba |
1.80 |
* HTML.pm.src: Some cases in "in table" insertion mode |
119 |
|
|
are merged. |
120 |
|
|
|
121 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
|
123 |
wakaba |
1.79 |
* HTML.pm.src: The "in row" insertion mode is merged |
124 |
|
|
with "in table" insertion mode. |
125 |
|
|
|
126 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
|
128 |
wakaba |
1.78 |
* HTML.pm.src: The "in table" and "in table body" insertion |
129 |
|
|
modes are merged. |
130 |
|
|
|
131 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
|
133 |
wakaba |
1.77 |
* HTML.pm.src: There is no "in table head" or "in table foot" |
134 |
|
|
insertion mode! |
135 |
|
|
|
136 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
|
138 |
wakaba |
1.76 |
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
139 |
|
|
now directly invoke the handler. |
140 |
|
|
|
141 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
142 |
|
|
|
143 |
wakaba |
1.75 |
* HTML.pm.src: Codes for "in cell" insertion mode |
144 |
|
|
is merged to the "in body" insertion mode code. |
145 |
|
|
|
146 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
|
148 |
wakaba |
1.74 |
* HTML.pm.src: Codes for "in body" and "in caption" |
149 |
|
|
insertion modes are merged. |
150 |
|
|
|
151 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
|
153 |
wakaba |
1.73 |
* HTML.pm.src: Two |!!!next-token|s were missing. |
154 |
|
|
|
155 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
|
157 |
wakaba |
1.72 |
* HTML.pm.src: Use numeric constant for |{content_mode}| |
158 |
|
|
instead of string constant for |{content_model_flag}|. |
159 |
|
|
|
160 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
|
162 |
wakaba |
1.71 |
* HTML.pm.src: Add the name of the attribute |
163 |
|
|
to the "duplicate attribute" error. |
164 |
|
|
|
165 |
wakaba |
1.69 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
|
167 |
wakaba |
1.70 |
* ContentChecker.pm: Return the |class| node list. |
168 |
|
|
|
169 |
|
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
|
171 |
wakaba |
1.69 |
* ContentChecker.pm: Return the |id| node list. |
172 |
|
|
|
173 |
|
|
* HTML.pm.src: A typo is fixed. |
174 |
|
|
|
175 |
wakaba |
1.63 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
|
177 |
wakaba |
1.68 |
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
178 |
|
|
from "in HTML:xml:lang" error. Character position |
179 |
|
|
is now the last part of the error type in the URI error |
180 |
|
|
description. Report "unsupported" status for language |
181 |
|
|
tags, media queries, script codes, and style sheets. |
182 |
|
|
|
183 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
184 |
|
|
|
185 |
wakaba |
1.67 |
* ContentChecker.pm: Report error if |xml:lang| |
186 |
|
|
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
187 |
|
|
in XML. |
188 |
|
|
|
189 |
|
|
* NanoDOM.pm (Attr.owner_document): New attribute. |
190 |
|
|
|
191 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
|
193 |
wakaba |
1.66 |
* HTML.pm.src: The character immediately following |
194 |
|
|
a bare |hcro| was discarded. Fix handling of |
195 |
|
|
entity references in attribute values. |
196 |
|
|
|
197 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
|
199 |
wakaba |
1.65 |
* HTML.pm.src (main and trailin end phases): Token |
200 |
|
|
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
201 |
|
|
factored out. Error types |in html:#DOCTYPE| |
202 |
|
|
and |after html:#DOCTYPE| are merged |
203 |
|
|
into |DOCTYPE in the middle|. |</frameset>| |
204 |
|
|
in fragment parsing mode changed the |
205 |
|
|
insertion mode. |
206 |
|
|
|
207 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
|
209 |
wakaba |
1.64 |
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
210 |
|
|
phase is now an insertion mode. Treatments for white |
211 |
|
|
space character tokens were incorrect for some |
212 |
|
|
insertion modes. An old |meta| case was not removed. |
213 |
|
|
|
214 |
|
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
|
216 |
wakaba |
1.63 |
* HTML.pm.src: |meta| charset declaration extraction |
217 |
|
|
implemented (but changing the encoding is not yet:-). |
218 |
|
|
|
219 |
wakaba |
1.60 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
220 |
|
|
|
221 |
wakaba |
1.62 |
* Charset/: New directory. |
222 |
|
|
|
223 |
|
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
224 |
|
|
|
225 |
wakaba |
1.61 |
* H2H.pm: New Perl module (created from |
226 |
|
|
manakai's H2H.dis). |
227 |
|
|
|
228 |
|
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
229 |
|
|
|
230 |
wakaba |
1.60 |
* XMLSerializer.pm: New Perl module (created from |
231 |
|
|
manakai's SimpleLS.dis). |
232 |
|
|
|
233 |
wakaba |
1.59 |
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
|
235 |
|
|
* HTML.pm.src: |<!---x-->| was not processed correctly. |
236 |
|
|
|
237 |
wakaba |
1.57 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
238 |
|
|
|
239 |
wakaba |
1.58 |
* HTML.pm.src: Report correct error message |
240 |
|
|
for |<body></div></body>|. |
241 |
|
|
|
242 |
|
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
|
244 |
wakaba |
1.57 |
* HTMLTable.pm: An error description was incorrect. |
245 |
|
|
|
246 |
|
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
|
248 |
|
|
* ContentChecker.pm: Return |{term}| list. |
249 |
|
|
|
250 |
wakaba |
1.55 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
251 |
|
|
|
252 |
wakaba |
1.56 |
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
253 |
|
|
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
254 |
|
|
and <title> outside of head). |
255 |
|
|
|
256 |
|
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
|
258 |
wakaba |
1.55 |
* IMTChecker.pm: Report warning for unregistered |
259 |
|
|
and private types/subtypes. |
260 |
|
|
|
261 |
|
|
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
262 |
|
|
URIChecker.pm, HTMLTable.pm: Error messages are now |
263 |
|
|
consistent; they are all listed in |
264 |
|
|
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
265 |
|
|
|
266 |
wakaba |
1.52 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
|
268 |
wakaba |
1.54 |
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
269 |
|
|
is now erred. |<datalist>| is implemented. |
270 |
|
|
Attribute checker for |<command>| and |<menu>| are |
271 |
|
|
added. Support for |contextmenu| global attribute |
272 |
|
|
is added. |
273 |
|
|
|
274 |
|
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
|
276 |
wakaba |
1.53 |
* HTML.pm.src (_reset_insertion_mode): Interpretation |
277 |
|
|
of Step 3 has been changed. |
278 |
|
|
|
279 |
|
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
|
281 |
wakaba |
1.52 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
282 |
|
|
|
283 |
wakaba |
1.47 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
|
285 |
wakaba |
1.51 |
* URIChecker.pm (check_iri_reference): A |decode| method name was |
286 |
|
|
incorrect. |
287 |
|
|
|
288 |
|
|
* ContentChecker.pm: Support for the |footer| element. |
289 |
|
|
Check URI syntax for space-separated URI attributes. |
290 |
|
|
Support for the |tabindex| attribute. Support |
291 |
|
|
for |datetime| attribute. |
292 |
|
|
|
293 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
294 |
|
|
|
295 |
wakaba |
1.50 |
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
296 |
|
|
character references). HTML5 revision 1.146 (white space |
297 |
|
|
characters before root start tag). HTML5 revision |
298 |
|
|
1.148 (named character references in attribute values). |
299 |
|
|
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
300 |
|
|
|
301 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
302 |
|
|
|
303 |
|
|
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
304 |
wakaba |
1.49 |
in <head>). |
305 |
|
|
|
306 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
|
308 |
wakaba |
1.48 |
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
309 |
|
|
in body). |
310 |
|
|
|
311 |
|
|
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
312 |
|
|
|
313 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
314 |
|
|
|
315 |
wakaba |
1.47 |
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
316 |
|
|
or RCDATA in fragment parsing mode). HTML5 revision |
317 |
|
|
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
318 |
|
|
|
319 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
320 |
|
|
|
321 |
|
|
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
322 |
|
|
for <pre> and <textarea>). |
323 |
|
|
|
324 |
wakaba |
1.33 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
|
326 |
wakaba |
1.46 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
327 |
|
|
|
328 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
|
330 |
wakaba |
1.45 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
331 |
|
|
|
332 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
333 |
|
|
|
334 |
wakaba |
1.44 |
* HTML.pm.src: HTML5 revision 916 (</body>). |
335 |
|
|
HTML5 revision 917 (conforming bare &). |
336 |
|
|
|
337 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
338 |
|
|
|
339 |
wakaba |
1.43 |
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
340 |
|
|
|
341 |
|
|
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
342 |
|
|
HTML5 revision 915 (<nobr>). |
343 |
|
|
|
344 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
345 |
|
|
|
346 |
wakaba |
1.42 |
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
347 |
|
|
|
348 |
|
|
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
349 |
|
|
New attributes. |
350 |
|
|
|
351 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
352 |
|
|
|
353 |
wakaba |
1.41 |
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
354 |
|
|
in tags). |
355 |
|
|
|
356 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
357 |
|
|
|
358 |
wakaba |
1.40 |
* .cvsignore: |Entities.html| is added. |
359 |
|
|
|
360 |
|
|
* HTML.pm.src: |$entity_char| is removed and |
361 |
|
|
requires |Whatpm::_NamedEntityList| instead. |
362 |
|
|
HTML5 revision 898 (refc), except that lack of refc |
363 |
|
|
is parse error. |
364 |
|
|
|
365 |
|
|
* mkentitylist.pl: New script. |
366 |
|
|
|
367 |
|
|
* Makefile (all): |_NamedEntityList.pm| is added. |
368 |
|
|
(_NamedEntityList.pm, Entities.html): New rules. |
369 |
|
|
|
370 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
371 |
|
|
|
372 |
wakaba |
1.39 |
* HTML.pm.src: Parse errors immediately after U+000D |
373 |
|
|
were ignored and U+000D immediately following another |
374 |
|
|
U+000D was not converted to U+000A. |
375 |
|
|
|
376 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
377 |
|
|
|
378 |
wakaba |
1.38 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
379 |
|
|
nodes before appended). Parser was not ready for NULL |
380 |
|
|
parse error and escape flag. |
381 |
|
|
|
382 |
|
|
* NanoDOM.pm (adopt_node): New. |
383 |
|
|
|
384 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
385 |
|
|
|
386 |
wakaba |
1.37 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
387 |
|
|
CDATA and RCDATA). Note that current implementation |
388 |
|
|
is simply repeating what the spec says and it is maybe not |
389 |
|
|
a best way to do it. |
390 |
|
|
|
391 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
392 |
|
|
|
393 |
wakaba |
1.36 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
394 |
|
|
the form element if a descendant element without implied end tag has |
395 |
|
|
still been open). |
396 |
|
|
|
397 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
398 |
|
|
|
399 |
wakaba |
1.35 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
400 |
|
|
space characters non-conforming). |
401 |
|
|
|
402 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
|
404 |
wakaba |
1.34 |
* HTML.pm.src: An error message was incorrect. |
405 |
|
|
HTML5 revision 869 (C1 character references). |
406 |
|
|
|
407 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
408 |
|
|
|
409 |
wakaba |
1.33 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
410 |
|
|
a |textarea| is removed). |
411 |
|
|
|
412 |
wakaba |
1.32 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
413 |
|
|
|
414 |
|
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
415 |
|
|
|
416 |
|
|
* ContentChecker.pm: |script| |async| and |defer| |
417 |
|
|
no longer require |src|. |async| MUST NOT be |
418 |
|
|
specified if |defer|. (HTML5 revision 858). |
419 |
|
|
|
420 |
wakaba |
1.31 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
421 |
|
|
|
422 |
|
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
423 |
|
|
|
424 |
wakaba |
1.27 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
425 |
|
|
|
426 |
wakaba |
1.30 |
* ContentChecker.pm (html): Set |is_root| (allowed |
427 |
|
|
as a document element) flag on. |
428 |
|
|
(new): Removed. |
429 |
|
|
(check_document): New method. |
430 |
|
|
|
431 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
432 |
|
|
|
433 |
wakaba |
1.29 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
434 |
|
|
were incorrect. |
435 |
|
|
|
436 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
437 |
|
|
|
438 |
wakaba |
1.28 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
439 |
|
|
error position in the |type| option of the error. |
440 |
|
|
|
441 |
|
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
442 |
|
|
is now optional. Some bugs are fixed. |
443 |
|
|
|
444 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
445 |
|
|
|
446 |
wakaba |
1.27 |
* HTMLTable.pm: New module. |
447 |
|
|
|
448 |
|
|
* ContentChecker.pm (table): Invoke table model error checker. |
449 |
|
|
|
450 |
|
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
451 |
|
|
|
452 |
wakaba |
1.25 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
453 |
|
|
|
454 |
wakaba |
1.26 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
455 |
|
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
456 |
|
|
|
457 |
|
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
458 |
|
|
|
459 |
|
|
* _LinkTypeList.pm: New file. |
460 |
|
|
|
461 |
|
|
* mklinktypelist.pl: New file. |
462 |
|
|
|
463 |
|
|
* .cvsignore: |RelExtensions.html| added. |
464 |
|
|
|
465 |
|
|
* NanoDOM.pm (child_nodes): Returns an empty array |
466 |
|
|
for non-child-containing node types. |
467 |
|
|
(text_content): New attribute. |
468 |
|
|
|
469 |
|
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
470 |
|
|
|
471 |
wakaba |
1.25 |
* IMTChecker.pm: New module. |
472 |
|
|
|
473 |
|
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
474 |
|
|
to test parameter value validity. |
475 |
|
|
|
476 |
|
|
* HTML.pm.src ($style_start_tag): Attributes were |
477 |
|
|
discarded. |
478 |
|
|
|
479 |
wakaba |
1.22 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
480 |
|
|
|
481 |
wakaba |
1.24 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
482 |
|
|
|
483 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
484 |
|
|
|
485 |
wakaba |
1.23 |
* URIChecker.pm: All recommendations from RFC 3986 |
486 |
|
|
and RFC 3987 are listed (not all testable items are checked yet). |
487 |
|
|
|
488 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
489 |
|
|
|
490 |
wakaba |
1.22 |
* URIChecker.pm: New module. |
491 |
|
|
|
492 |
wakaba |
1.18 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
493 |
|
|
|
494 |
wakaba |
1.21 |
* ContentChecker.pm: Now most attributes are implemented |
495 |
|
|
or associated to some placeholder. |
496 |
|
|
($ElementDefault): Warn unknown attributes |
497 |
|
|
for unknown elements as "attribute not supported". |
498 |
|
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
499 |
|
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
500 |
|
|
(|a| attribute checker): Reimplemented. |
501 |
|
|
|
502 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
503 |
|
|
|
504 |
wakaba |
1.20 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
505 |
|
|
($HTMLAttrChecker): Event handler content attributes |
506 |
|
|
are added. |
507 |
|
|
(link, embed): Required attribute is now checked. |
508 |
|
|
(embed): Unknown local attributes are no longer warned. |
509 |
|
|
|
510 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
511 |
|
|
|
512 |
wakaba |
1.19 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
513 |
|
|
($HTMLIMTAttrChecker): New checker. |
514 |
|
|
(link@rel, link@href, link@type, style@type, |
515 |
|
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
516 |
|
|
object@data, object@type, source@src, source@type, area@alt, |
517 |
|
|
area@shape, area@coords, area@href, |
518 |
|
|
area@ping, area@rel, area@type, script@src, |
519 |
|
|
script@defer, script@async, script@type): Checkers added. |
520 |
|
|
|
521 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
522 |
|
|
|
523 |
wakaba |
1.18 |
* ContentChecker.pm: Descendant checking was incorrect. |
524 |
|
|
|
525 |
wakaba |
1.12 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
526 |
|
|
|
527 |
wakaba |
1.17 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
528 |
|
|
attributes. Report an error if |Element.prefix| |
529 |
|
|
is |xmlns|. |
530 |
|
|
|
531 |
|
|
* NanoDOM.pm (prefix): New attribute. |
532 |
|
|
|
533 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
534 |
|
|
|
535 |
wakaba |
1.16 |
* HTML.pm.src: In |main| phase, |in body| insertion |
536 |
|
|
mode, action for |<iframe>| was missing. |
537 |
|
|
|
538 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
539 |
|
|
|
540 |
wakaba |
1.15 |
* ContentChecker.pm: Support for many of HTML5 elements. |
541 |
|
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
542 |
|
|
|
543 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
544 |
|
|
|
545 |
wakaba |
1.14 |
* ContentChecker.pm: Support for most elements up to |progress|. |
546 |
|
|
($HTMLURIAttrChecker): Placeholder. |
547 |
|
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
548 |
|
|
New. |
549 |
|
|
|
550 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
551 |
|
|
|
552 |
wakaba |
1.13 |
* ContentChecker.pm: Attribute checkers |
553 |
|
|
for global attributes, |html|, |base|, |style|, and |meta|. |
554 |
|
|
|
555 |
|
|
* NanoDOM.pm (insert_before): Weaken reference |
556 |
|
|
to the parent node. |
557 |
|
|
(Attr::new): Set |owner_element| attribute. |
558 |
|
|
(namespace_uri, manakai_local_name): New attribute implementations. |
559 |
|
|
(owner_element): New attribute. |
560 |
|
|
|
561 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
562 |
|
|
|
563 |
wakaba |
1.12 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
564 |
|
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
565 |
|
|
$Element->{$HTML_NS}->{''}): New. |
566 |
|
|
(check_element): Invoke attrs_checker for each element. |
567 |
|
|
|
568 |
wakaba |
1.6 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
569 |
|
|
|
570 |
wakaba |
1.11 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
571 |
|
|
|
572 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
573 |
|
|
|
574 |
wakaba |
1.10 |
* ContentChecker.pm: Use hashs rather than lists for |
575 |
|
|
element type testings. |
576 |
|
|
|
577 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
578 |
|
|
|
579 |
wakaba |
1.9 |
* ContentChecker.pm: Don't generate duplicate |
580 |
|
|
error when an element type is put in the "minus" list |
581 |
|
|
and the element type is not allowed explicitly in the particular |
582 |
|
|
element content model. |
583 |
|
|
(html:a checker): New checker. |
584 |
|
|
(html:details, html:datagrid): New checkers. |
585 |
|
|
(html:legend): New checker. |
586 |
|
|
|
587 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
588 |
|
|
|
589 |
wakaba |
1.8 |
* ContentChecker.pm (html:li checker): Implemented. |
590 |
|
|
|
591 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
592 |
|
|
|
593 |
wakaba |
1.7 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
594 |
|
|
checker. |
595 |
|
|
(html:dd checker): New checker. |
596 |
|
|
(html:q, html:em, html:strong, html:small, |
597 |
|
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
598 |
|
|
|
599 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
600 |
|
|
|
601 |
wakaba |
1.6 |
* ContentChecker.pm ($AnyChecker): Renamed |
602 |
|
|
from |$ElementDefault->{checker}|. |
603 |
|
|
($ElementDefault->{checker}): Throw an error that |
604 |
|
|
the element type is not supported by the checker. |
605 |
|
|
($HTMLMetadataElement): |html:base| was missing. |
606 |
|
|
($HTMLEmptyChecker): Don't throw an error |
607 |
|
|
for inter-element whitespace nodes. |
608 |
|
|
(html:html checker): Errors were not |
609 |
|
|
thrown even if |html:head| and/or |html:body| |
610 |
|
|
children were missing. |
611 |
|
|
(html:head checker): An error was not |
612 |
|
|
thrown if <meta charset> appered after other |
613 |
|
|
elements. |
614 |
|
|
|
615 |
wakaba |
1.5 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
616 |
|
|
|
617 |
|
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
618 |
|
|
and |noscript| elements are implemented. |
619 |
|
|
(new): New method. |
620 |
|
|
|
621 |
wakaba |
1.3 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
622 |
|
|
|
623 |
wakaba |
1.4 |
* ContentChecker.pm: New module. |
624 |
|
|
|
625 |
|
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
626 |
|
|
|
627 |
wakaba |
1.3 |
* NanoDOM.pm (manakai_parent_element, |
628 |
|
|
document_element, manakai_local_name, |
629 |
|
|
manakai_element_type_match): New method. |
630 |
|
|
|
631 |
|
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
632 |
|
|
|
633 |
|
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
634 |
|
|
entities in C1 range using Windows-1252 mapping. Bare LF |
635 |
|
|
did not count as new line for error reporting. |
636 |
|
|
|
637 |
wakaba |
1.2 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
638 |
|
|
|
639 |
|
|
* NanoDOM.pm (DOMImplementation): New class. |
640 |
|
|
(append_child): Weaken the |parent_node| reference. |
641 |
|
|
(create_element_ns, Element new): Set the |owner_document| |
642 |
|
|
reference. |
643 |
|
|
(implementation): New attribute. |
644 |
|
|
(owner_document, local_name, namespace_uri): New attributes. |
645 |
|
|
|
646 |
|
|
* HTML.pm.src (parse_string): Line and column numbers |
647 |
|
|
are now provided to error handler. |
648 |
|
|
(!!!parse-error): Short descriptions are added. |
649 |
|
|
(_construct_tree): Split into three methods; support |
650 |
|
|
for innerHTML mode. |
651 |
|
|
(set_inner_html): New method. |
652 |
|
|
|
653 |
wakaba |
1.1 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
654 |
|
|
|
655 |
|
|
* NanoDOM.html: Documentation is added. |
656 |
|
|
|
657 |
|
|
* HTML.pod, ContentType.html: Documentation is revised. |
658 |
|
|
|
659 |
|
|
* .cvsignore: Pod2html temporary files are added. |
660 |
|
|
|
661 |
|
|
* Makefile: Make |NanoDOM.html|. |
662 |
|
|
|
663 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
664 |
|
|
|
665 |
|
|
* HTML.pm.src (parse_string): New method. |
666 |
|
|
(get_inner_html): Renamed from |inner_html|. |
667 |
|
|
|
668 |
|
|
* Makefile: A rule for |HTML.html| is added. |
669 |
|
|
|
670 |
|
|
* HTML.pod: New documentation. |
671 |
|
|
|
672 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
673 |
|
|
|
674 |
|
|
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
675 |
|
|
(clone_node): Attribute nodes were not completely copied. |
676 |
|
|
|
677 |
|
|
* HTML.pm.src: Many bugs are fixed. |
678 |
|
|
|
679 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
680 |
|
|
|
681 |
|
|
* HTML.pm.src: Some typos are fixed. |
682 |
|
|
|
683 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
684 |
|
|
|
685 |
|
|
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
686 |
|
|
are removed. |
687 |
|
|
|
688 |
|
|
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
689 |
|
|
|
690 |
|
|
* HTML-consume-entity.src: Removed. |
691 |
|
|
|
692 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
693 |
|
|
|
694 |
|
|
* HTML.pm.src: Tokenizer's handling on hexadecimal |
695 |
|
|
numeric entities are rewritten. |
696 |
|
|
|
697 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
698 |
|
|
|
699 |
|
|
* HTML.pm.src: Some tokenizer bugs are fixed. |
700 |
|
|
|
701 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
702 |
|
|
|
703 |
|
|
* HTML.pm.src: The tree construction stage is implemented. |
704 |
|
|
|
705 |
|
|
* mkhtmlparser.pl: New macros are added. |
706 |
|
|
|
707 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
708 |
|
|
|
709 |
|
|
* ContentType.pm: A note on bug in the specification |
710 |
|
|
is removed since it's been now fixed. |
711 |
|
|
|
712 |
|
|
* .cvsignore: New file. |
713 |
|
|
|
714 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
715 |
|
|
|
716 |
|
|
* HTML.pm.src, HTML-consume-entity.src: New files. |
717 |
|
|
|
718 |
|
|
* Makefile (HTML.pm): New rule. |
719 |
|
|
|
720 |
|
|
* mkhtmlparser.pl: New script. |
721 |
|
|
|
722 |
|
|
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
723 |
|
|
|
724 |
|
|
* Makefile: New file. |
725 |
|
|
|
726 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
727 |
|
|
|
728 |
|
|
* ContentType.pm: An error in pod is fixed. |
729 |
|
|
|
730 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
731 |
|
|
|
732 |
|
|
* ContentType.pm: Documentation is added. |
733 |
|
|
|
734 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
735 |
|
|
|
736 |
|
|
* ContentType.pm: New Perl module. |
737 |
|
|
|
738 |
|
|
* ChangeLog: New file. |
739 |
|
|
|
740 |
|
|
|