1 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
4 |
|
is added. |
5 |
|
(check_document): Load appropriate module before validation. |
6 |
|
|
7 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* ContentChecker/: New directory. |
10 |
|
|
11 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* ContentChecker.pm: HTML |time| element is implemented. |
14 |
|
|
15 |
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
16 |
|
|
17 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* ContentChecker.pm (check_document): Return value |
20 |
|
even if no document element is found. |
21 |
|
|
22 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* HTML.pm.src: |$in_body| is no longer a function. |
25 |
|
|
26 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* HTML.pm.src: The |$in_body| code has been moved down. |
29 |
|
|
30 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* HTML.pm.src: The "trailing end" insertion mode |
33 |
|
is split into "after html body" and "after html frameset" |
34 |
|
insertion modes. Their codes are merged with "after body" |
35 |
|
and "after frameset" codes. |$previous_insertion_mode| |
36 |
|
has been removed. "after frameset" code is |
37 |
|
merged with "in frameset" code. |
38 |
|
|
39 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* HTML.pm.src: The "before head" insertion mode is |
42 |
|
merged with the "in head" insertion mode. |
43 |
|
|
44 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* HTML.pm.src: Cases in "in head" insertion mode are |
47 |
|
reorganized. |
48 |
|
|
49 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* HTML.pm.src: Some cases in "in table" insertion mode |
52 |
|
are merged. |
53 |
|
|
54 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* HTML.pm.src: The "in row" insertion mode is merged |
57 |
|
with "in table" insertion mode. |
58 |
|
|
59 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* HTML.pm.src: The "in table" and "in table body" insertion |
62 |
|
modes are merged. |
63 |
|
|
64 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* HTML.pm.src: There is no "in table head" or "in table foot" |
67 |
|
insertion mode! |
68 |
|
|
69 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
72 |
|
now directly invoke the handler. |
73 |
|
|
74 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* HTML.pm.src: Codes for "in cell" insertion mode |
77 |
|
is merged to the "in body" insertion mode code. |
78 |
|
|
79 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* HTML.pm.src: Codes for "in body" and "in caption" |
82 |
|
insertion modes are merged. |
83 |
|
|
84 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* HTML.pm.src: Two |!!!next-token|s were missing. |
87 |
|
|
88 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* HTML.pm.src: Use numeric constant for |{content_mode}| |
91 |
|
instead of string constant for |{content_model_flag}|. |
92 |
|
|
93 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
95 |
|
* HTML.pm.src: Add the name of the attribute |
96 |
|
to the "duplicate attribute" error. |
97 |
|
|
98 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* ContentChecker.pm: Return the |class| node list. |
101 |
|
|
102 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
103 |
|
|
104 |
|
* ContentChecker.pm: Return the |id| node list. |
105 |
|
|
106 |
|
* HTML.pm.src: A typo is fixed. |
107 |
|
|
108 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
111 |
|
from "in HTML:xml:lang" error. Character position |
112 |
|
is now the last part of the error type in the URI error |
113 |
|
description. Report "unsupported" status for language |
114 |
|
tags, media queries, script codes, and style sheets. |
115 |
|
|
116 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* ContentChecker.pm: Report error if |xml:lang| |
119 |
|
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
120 |
|
in XML. |
121 |
|
|
122 |
|
* NanoDOM.pm (Attr.owner_document): New attribute. |
123 |
|
|
124 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
126 |
|
* HTML.pm.src: The character immediately following |
127 |
|
a bare |hcro| was discarded. Fix handling of |
128 |
|
entity references in attribute values. |
129 |
|
|
130 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* HTML.pm.src (main and trailin end phases): Token |
133 |
|
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
134 |
|
factored out. Error types |in html:#DOCTYPE| |
135 |
|
and |after html:#DOCTYPE| are merged |
136 |
|
into |DOCTYPE in the middle|. |</frameset>| |
137 |
|
in fragment parsing mode changed the |
138 |
|
insertion mode. |
139 |
|
|
140 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
141 |
|
|
142 |
|
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
143 |
|
phase is now an insertion mode. Treatments for white |
144 |
|
space character tokens were incorrect for some |
145 |
|
insertion modes. An old |meta| case was not removed. |
146 |
|
|
147 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src: |meta| charset declaration extraction |
150 |
|
implemented (but changing the encoding is not yet:-). |
151 |
|
|
152 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* Charset/: New directory. |
155 |
|
|
156 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
158 |
|
* H2H.pm: New Perl module (created from |
159 |
|
manakai's H2H.dis). |
160 |
|
|
161 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* XMLSerializer.pm: New Perl module (created from |
164 |
|
manakai's SimpleLS.dis). |
165 |
|
|
166 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* HTML.pm.src: |<!---x-->| was not processed correctly. |
169 |
|
|
170 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* HTML.pm.src: Report correct error message |
173 |
|
for |<body></div></body>|. |
174 |
|
|
175 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* HTMLTable.pm: An error description was incorrect. |
178 |
|
|
179 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
180 |
|
|
181 |
|
* ContentChecker.pm: Return |{term}| list. |
182 |
|
|
183 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
184 |
|
|
185 |
|
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
186 |
|
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
187 |
|
and <title> outside of head). |
188 |
|
|
189 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* IMTChecker.pm: Report warning for unregistered |
192 |
|
and private types/subtypes. |
193 |
|
|
194 |
|
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
195 |
|
URIChecker.pm, HTMLTable.pm: Error messages are now |
196 |
|
consistent; they are all listed in |
197 |
|
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
198 |
|
|
199 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
202 |
|
is now erred. |<datalist>| is implemented. |
203 |
|
Attribute checker for |<command>| and |<menu>| are |
204 |
|
added. Support for |contextmenu| global attribute |
205 |
|
is added. |
206 |
|
|
207 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
208 |
|
|
209 |
|
* HTML.pm.src (_reset_insertion_mode): Interpretation |
210 |
|
of Step 3 has been changed. |
211 |
|
|
212 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
|
* HTML.pm.src: Late |<html>| parse error is implemented. |
215 |
|
|
216 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* URIChecker.pm (check_iri_reference): A |decode| method name was |
219 |
|
incorrect. |
220 |
|
|
221 |
|
* ContentChecker.pm: Support for the |footer| element. |
222 |
|
Check URI syntax for space-separated URI attributes. |
223 |
|
Support for the |tabindex| attribute. Support |
224 |
|
for |datetime| attribute. |
225 |
|
|
226 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
229 |
|
character references). HTML5 revision 1.146 (white space |
230 |
|
characters before root start tag). HTML5 revision |
231 |
|
1.148 (named character references in attribute values). |
232 |
|
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
233 |
|
|
234 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
235 |
|
|
236 |
|
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
237 |
|
in <head>). |
238 |
|
|
239 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
242 |
|
in body). |
243 |
|
|
244 |
|
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
245 |
|
|
246 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
249 |
|
or RCDATA in fragment parsing mode). HTML5 revision |
250 |
|
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
251 |
|
|
252 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
255 |
|
for <pre> and <textarea>). |
256 |
|
|
257 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
260 |
|
|
261 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
264 |
|
|
265 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* HTML.pm.src: HTML5 revision 916 (</body>). |
268 |
|
HTML5 revision 917 (conforming bare &). |
269 |
|
|
270 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
271 |
|
|
272 |
|
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
273 |
|
|
274 |
|
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
275 |
|
HTML5 revision 915 (<nobr>). |
276 |
|
|
277 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
278 |
|
|
279 |
|
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
280 |
|
|
281 |
|
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
282 |
|
New attributes. |
283 |
|
|
284 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
287 |
|
in tags). |
288 |
|
|
289 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
290 |
|
|
291 |
|
* .cvsignore: |Entities.html| is added. |
292 |
|
|
293 |
|
* HTML.pm.src: |$entity_char| is removed and |
294 |
|
requires |Whatpm::_NamedEntityList| instead. |
295 |
|
HTML5 revision 898 (refc), except that lack of refc |
296 |
|
is parse error. |
297 |
|
|
298 |
|
* mkentitylist.pl: New script. |
299 |
|
|
300 |
|
* Makefile (all): |_NamedEntityList.pm| is added. |
301 |
|
(_NamedEntityList.pm, Entities.html): New rules. |
302 |
|
|
303 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
304 |
|
|
305 |
|
* HTML.pm.src: Parse errors immediately after U+000D |
306 |
|
were ignored and U+000D immediately following another |
307 |
|
U+000D was not converted to U+000A. |
308 |
|
|
309 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
310 |
|
|
311 |
|
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
312 |
|
nodes before appended). Parser was not ready for NULL |
313 |
|
parse error and escape flag. |
314 |
|
|
315 |
|
* NanoDOM.pm (adopt_node): New. |
316 |
|
|
317 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
318 |
|
|
319 |
|
* HTML.pm.src: HTML5 revision 886 (insane comment in |
320 |
|
CDATA and RCDATA). Note that current implementation |
321 |
|
is simply repeating what the spec says and it is maybe not |
322 |
|
a best way to do it. |
323 |
|
|
324 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
326 |
|
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
327 |
|
the form element if a descendant element without implied end tag has |
328 |
|
still been open). |
329 |
|
|
330 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
331 |
|
|
332 |
|
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
333 |
|
space characters non-conforming). |
334 |
|
|
335 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
336 |
|
|
337 |
|
* HTML.pm.src: An error message was incorrect. |
338 |
|
HTML5 revision 869 (C1 character references). |
339 |
|
|
340 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
341 |
|
|
342 |
|
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
343 |
|
a |textarea| is removed). |
344 |
|
|
345 |
|
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
346 |
|
|
347 |
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
348 |
|
|
349 |
|
* ContentChecker.pm: |script| |async| and |defer| |
350 |
|
no longer require |src|. |async| MUST NOT be |
351 |
|
specified if |defer|. (HTML5 revision 858). |
352 |
|
|
353 |
|
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
354 |
|
|
355 |
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
356 |
|
|
357 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
|
* ContentChecker.pm (html): Set |is_root| (allowed |
360 |
|
as a document element) flag on. |
361 |
|
(new): Removed. |
362 |
|
(check_document): New method. |
363 |
|
|
364 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
365 |
|
|
366 |
|
* ContentChecker.pm (thead, tfoot): Checker specifications |
367 |
|
were incorrect. |
368 |
|
|
369 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
370 |
|
|
371 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
372 |
|
error position in the |type| option of the error. |
373 |
|
|
374 |
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
375 |
|
is now optional. Some bugs are fixed. |
376 |
|
|
377 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
378 |
|
|
379 |
|
* HTMLTable.pm: New module. |
380 |
|
|
381 |
|
* ContentChecker.pm (table): Invoke table model error checker. |
382 |
|
|
383 |
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
384 |
|
|
385 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
386 |
|
|
387 |
|
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
388 |
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
389 |
|
|
390 |
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
391 |
|
|
392 |
|
* _LinkTypeList.pm: New file. |
393 |
|
|
394 |
|
* mklinktypelist.pl: New file. |
395 |
|
|
396 |
|
* .cvsignore: |RelExtensions.html| added. |
397 |
|
|
398 |
|
* NanoDOM.pm (child_nodes): Returns an empty array |
399 |
|
for non-child-containing node types. |
400 |
|
(text_content): New attribute. |
401 |
|
|
402 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* IMTChecker.pm: New module. |
405 |
|
|
406 |
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
407 |
|
to test parameter value validity. |
408 |
|
|
409 |
|
* HTML.pm.src ($style_start_tag): Attributes were |
410 |
|
discarded. |
411 |
|
|
412 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
413 |
|
|
414 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
415 |
|
|
416 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
418 |
|
* URIChecker.pm: All recommendations from RFC 3986 |
419 |
|
and RFC 3987 are listed (not all testable items are checked yet). |
420 |
|
|
421 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
422 |
|
|
423 |
|
* URIChecker.pm: New module. |
424 |
|
|
425 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
426 |
|
|
427 |
|
* ContentChecker.pm: Now most attributes are implemented |
428 |
|
or associated to some placeholder. |
429 |
|
($ElementDefault): Warn unknown attributes |
430 |
|
for unknown elements as "attribute not supported". |
431 |
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
432 |
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
433 |
|
(|a| attribute checker): Reimplemented. |
434 |
|
|
435 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
436 |
|
|
437 |
|
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
438 |
|
($HTMLAttrChecker): Event handler content attributes |
439 |
|
are added. |
440 |
|
(link, embed): Required attribute is now checked. |
441 |
|
(embed): Unknown local attributes are no longer warned. |
442 |
|
|
443 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
444 |
|
|
445 |
|
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
446 |
|
($HTMLIMTAttrChecker): New checker. |
447 |
|
(link@rel, link@href, link@type, style@type, |
448 |
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
449 |
|
object@data, object@type, source@src, source@type, area@alt, |
450 |
|
area@shape, area@coords, area@href, |
451 |
|
area@ping, area@rel, area@type, script@src, |
452 |
|
script@defer, script@async, script@type): Checkers added. |
453 |
|
|
454 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
455 |
|
|
456 |
|
* ContentChecker.pm: Descendant checking was incorrect. |
457 |
|
|
458 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
459 |
|
|
460 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |