1 |
wakaba |
1.87 |
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
wakaba |
1.89 |
* 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 |
wakaba |
1.88 |
* ContentChecker/: New directory. |
10 |
|
|
|
11 |
|
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
|
13 |
wakaba |
1.87 |
* ContentChecker.pm: HTML |time| element is implemented. |
14 |
|
|
|
15 |
|
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
16 |
|
|
|
17 |
wakaba |
1.71 |
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
|
19 |
wakaba |
1.86 |
* 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 |
wakaba |
1.85 |
* HTML.pm.src: |$in_body| is no longer a function. |
25 |
|
|
|
26 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
|
28 |
wakaba |
1.84 |
* HTML.pm.src: The |$in_body| code has been moved down. |
29 |
|
|
|
30 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
|
32 |
wakaba |
1.83 |
* 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 |
wakaba |
1.82 |
* 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 |
wakaba |
1.81 |
* HTML.pm.src: Cases in "in head" insertion mode are |
47 |
|
|
reorganized. |
48 |
|
|
|
49 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
|
51 |
wakaba |
1.80 |
* 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 |
wakaba |
1.79 |
* 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 |
wakaba |
1.78 |
* 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 |
wakaba |
1.77 |
* 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 |
wakaba |
1.76 |
* 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 |
wakaba |
1.75 |
* 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 |
wakaba |
1.74 |
* 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 |
wakaba |
1.73 |
* HTML.pm.src: Two |!!!next-token|s were missing. |
87 |
|
|
|
88 |
|
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
|
90 |
wakaba |
1.72 |
* 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 |
wakaba |
1.71 |
* HTML.pm.src: Add the name of the attribute |
96 |
|
|
to the "duplicate attribute" error. |
97 |
|
|
|
98 |
wakaba |
1.69 |
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
|
100 |
wakaba |
1.70 |
* ContentChecker.pm: Return the |class| node list. |
101 |
|
|
|
102 |
|
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
103 |
|
|
|
104 |
wakaba |
1.69 |
* ContentChecker.pm: Return the |id| node list. |
105 |
|
|
|
106 |
|
|
* HTML.pm.src: A typo is fixed. |
107 |
|
|
|
108 |
wakaba |
1.63 |
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
|
110 |
wakaba |
1.68 |
* 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 |
wakaba |
1.67 |
* 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 |
wakaba |
1.66 |
* 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 |
wakaba |
1.65 |
* 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 |
wakaba |
1.64 |
* 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 |
wakaba |
1.63 |
* HTML.pm.src: |meta| charset declaration extraction |
150 |
|
|
implemented (but changing the encoding is not yet:-). |
151 |
|
|
|
152 |
wakaba |
1.60 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
|
154 |
wakaba |
1.62 |
* Charset/: New directory. |
155 |
|
|
|
156 |
|
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
|
158 |
wakaba |
1.61 |
* H2H.pm: New Perl module (created from |
159 |
|
|
manakai's H2H.dis). |
160 |
|
|
|
161 |
|
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
|
163 |
wakaba |
1.60 |
* XMLSerializer.pm: New Perl module (created from |
164 |
|
|
manakai's SimpleLS.dis). |
165 |
|
|
|
166 |
wakaba |
1.59 |
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
|
168 |
|
|
* HTML.pm.src: |<!---x-->| was not processed correctly. |
169 |
|
|
|
170 |
wakaba |
1.57 |
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
|
172 |
wakaba |
1.58 |
* HTML.pm.src: Report correct error message |
173 |
|
|
for |<body></div></body>|. |
174 |
|
|
|
175 |
|
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
|
177 |
wakaba |
1.57 |
* 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 |
wakaba |
1.55 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
184 |
|
|
|
185 |
wakaba |
1.56 |
* 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 |
wakaba |
1.55 |
* 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 |
wakaba |
1.52 |
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
|
201 |
wakaba |
1.54 |
* 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 |
wakaba |
1.53 |
* 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 |
wakaba |
1.52 |
* HTML.pm.src: Late |<html>| parse error is implemented. |
215 |
|
|
|
216 |
wakaba |
1.47 |
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
|
218 |
wakaba |
1.51 |
* 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 |
wakaba |
1.50 |
* 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 |
wakaba |
1.49 |
in <head>). |
238 |
|
|
|
239 |
|
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
|
241 |
wakaba |
1.48 |
* 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 |
wakaba |
1.47 |
* 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 |
wakaba |
1.33 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
|
259 |
wakaba |
1.46 |
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
260 |
|
|
|
261 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
|
263 |
wakaba |
1.45 |
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
264 |
|
|
|
265 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
|
267 |
wakaba |
1.44 |
* 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 |
wakaba |
1.43 |
* 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 |
wakaba |
1.42 |
* 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 |
wakaba |
1.41 |
* 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 |
wakaba |
1.40 |
* .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 |
wakaba |
1.39 |
* 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 |
wakaba |
1.38 |
* 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 |
wakaba |
1.37 |
* 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 |
wakaba |
1.36 |
* 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 |
wakaba |
1.35 |
* 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 |
wakaba |
1.34 |
* 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 |
wakaba |
1.33 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
343 |
|
|
a |textarea| is removed). |
344 |
|
|
|
345 |
wakaba |
1.32 |
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 |
wakaba |
1.31 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
354 |
|
|
|
355 |
|
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
356 |
|
|
|
357 |
wakaba |
1.27 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
|
359 |
wakaba |
1.30 |
* 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 |
wakaba |
1.29 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
367 |
|
|
were incorrect. |
368 |
|
|
|
369 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
370 |
|
|
|
371 |
wakaba |
1.28 |
* 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 |
wakaba |
1.27 |
* 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 |
wakaba |
1.25 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
386 |
|
|
|
387 |
wakaba |
1.26 |
* 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 |
wakaba |
1.25 |
* 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 |
wakaba |
1.22 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
413 |
|
|
|
414 |
wakaba |
1.24 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
415 |
|
|
|
416 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
|
418 |
wakaba |
1.23 |
* 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 |
wakaba |
1.22 |
* URIChecker.pm: New module. |
424 |
|
|
|
425 |
wakaba |
1.18 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
426 |
|
|
|
427 |
wakaba |
1.21 |
* 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 |
wakaba |
1.20 |
* 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 |
wakaba |
1.19 |
* 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 |
wakaba |
1.18 |
* ContentChecker.pm: Descendant checking was incorrect. |
457 |
|
|
|
458 |
wakaba |
1.12 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
459 |
|
|
|
460 |
wakaba |
1.17 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
461 |
|
|
attributes. Report an error if |Element.prefix| |
462 |
|
|
is |xmlns|. |
463 |
|
|
|
464 |
|
|
* NanoDOM.pm (prefix): New attribute. |
465 |
|
|
|
466 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
467 |
|
|
|
468 |
wakaba |
1.16 |
* HTML.pm.src: In |main| phase, |in body| insertion |
469 |
|
|
mode, action for |<iframe>| was missing. |
470 |
|
|
|
471 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
472 |
|
|
|
473 |
wakaba |
1.15 |
* ContentChecker.pm: Support for many of HTML5 elements. |
474 |
|
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
475 |
|
|
|
476 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
477 |
|
|
|
478 |
wakaba |
1.14 |
* ContentChecker.pm: Support for most elements up to |progress|. |
479 |
|
|
($HTMLURIAttrChecker): Placeholder. |
480 |
|
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
481 |
|
|
New. |
482 |
|
|
|
483 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
484 |
|
|
|
485 |
wakaba |
1.13 |
* ContentChecker.pm: Attribute checkers |
486 |
|
|
for global attributes, |html|, |base|, |style|, and |meta|. |
487 |
|
|
|
488 |
|
|
* NanoDOM.pm (insert_before): Weaken reference |
489 |
|
|
to the parent node. |
490 |
|
|
(Attr::new): Set |owner_element| attribute. |
491 |
|
|
(namespace_uri, manakai_local_name): New attribute implementations. |
492 |
|
|
(owner_element): New attribute. |
493 |
|
|
|
494 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
495 |
|
|
|
496 |
wakaba |
1.12 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
497 |
|
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
498 |
|
|
$Element->{$HTML_NS}->{''}): New. |
499 |
|
|
(check_element): Invoke attrs_checker for each element. |
500 |
|
|
|
501 |
wakaba |
1.6 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
502 |
|
|
|
503 |
wakaba |
1.11 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
504 |
|
|
|
505 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
506 |
|
|
|
507 |
wakaba |
1.10 |
* ContentChecker.pm: Use hashs rather than lists for |
508 |
|
|
element type testings. |
509 |
|
|
|
510 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
511 |
|
|
|
512 |
wakaba |
1.9 |
* ContentChecker.pm: Don't generate duplicate |
513 |
|
|
error when an element type is put in the "minus" list |
514 |
|
|
and the element type is not allowed explicitly in the particular |
515 |
|
|
element content model. |
516 |
|
|
(html:a checker): New checker. |
517 |
|
|
(html:details, html:datagrid): New checkers. |
518 |
|
|
(html:legend): New checker. |
519 |
|
|
|
520 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
521 |
|
|
|
522 |
wakaba |
1.8 |
* ContentChecker.pm (html:li checker): Implemented. |
523 |
|
|
|
524 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
525 |
|
|
|
526 |
wakaba |
1.7 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
527 |
|
|
checker. |
528 |
|
|
(html:dd checker): New checker. |
529 |
|
|
(html:q, html:em, html:strong, html:small, |
530 |
|
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
531 |
|
|
|
532 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
533 |
|
|
|
534 |
wakaba |
1.6 |
* ContentChecker.pm ($AnyChecker): Renamed |
535 |
|
|
from |$ElementDefault->{checker}|. |
536 |
|
|
($ElementDefault->{checker}): Throw an error that |
537 |
|
|
the element type is not supported by the checker. |
538 |
|
|
($HTMLMetadataElement): |html:base| was missing. |
539 |
|
|
($HTMLEmptyChecker): Don't throw an error |
540 |
|
|
for inter-element whitespace nodes. |
541 |
|
|
(html:html checker): Errors were not |
542 |
|
|
thrown even if |html:head| and/or |html:body| |
543 |
|
|
children were missing. |
544 |
|
|
(html:head checker): An error was not |
545 |
|
|
thrown if <meta charset> appered after other |
546 |
|
|
elements. |
547 |
|
|
|
548 |
wakaba |
1.5 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
549 |
|
|
|
550 |
|
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
551 |
|
|
and |noscript| elements are implemented. |
552 |
|
|
(new): New method. |
553 |
|
|
|
554 |
wakaba |
1.3 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
555 |
|
|
|
556 |
wakaba |
1.4 |
* ContentChecker.pm: New module. |
557 |
|
|
|
558 |
|
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
559 |
|
|
|
560 |
wakaba |
1.3 |
* NanoDOM.pm (manakai_parent_element, |
561 |
|
|
document_element, manakai_local_name, |
562 |
|
|
manakai_element_type_match): New method. |
563 |
|
|
|
564 |
|
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
565 |
|
|
|
566 |
|
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
567 |
|
|
entities in C1 range using Windows-1252 mapping. Bare LF |
568 |
|
|
did not count as new line for error reporting. |
569 |
|
|
|
570 |
wakaba |
1.2 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
571 |
|
|
|
572 |
|
|
* NanoDOM.pm (DOMImplementation): New class. |
573 |
|
|
(append_child): Weaken the |parent_node| reference. |
574 |
|
|
(create_element_ns, Element new): Set the |owner_document| |
575 |
|
|
reference. |
576 |
|
|
(implementation): New attribute. |
577 |
|
|
(owner_document, local_name, namespace_uri): New attributes. |
578 |
|
|
|
579 |
|
|
* HTML.pm.src (parse_string): Line and column numbers |
580 |
|
|
are now provided to error handler. |
581 |
|
|
(!!!parse-error): Short descriptions are added. |
582 |
|
|
(_construct_tree): Split into three methods; support |
583 |
|
|
for innerHTML mode. |
584 |
|
|
(set_inner_html): New method. |
585 |
|
|
|
586 |
wakaba |
1.1 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
587 |
|
|
|
588 |
|
|
* NanoDOM.html: Documentation is added. |
589 |
|
|
|
590 |
|
|
* HTML.pod, ContentType.html: Documentation is revised. |
591 |
|
|
|
592 |
|
|
* .cvsignore: Pod2html temporary files are added. |
593 |
|
|
|
594 |
|
|
* Makefile: Make |NanoDOM.html|. |
595 |
|
|
|
596 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
597 |
|
|
|
598 |
|
|
* HTML.pm.src (parse_string): New method. |
599 |
|
|
(get_inner_html): Renamed from |inner_html|. |
600 |
|
|
|
601 |
|
|
* Makefile: A rule for |HTML.html| is added. |
602 |
|
|
|
603 |
|
|
* HTML.pod: New documentation. |
604 |
|
|
|
605 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
606 |
|
|
|
607 |
|
|
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
608 |
|
|
(clone_node): Attribute nodes were not completely copied. |
609 |
|
|
|
610 |
|
|
* HTML.pm.src: Many bugs are fixed. |
611 |
|
|
|
612 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
613 |
|
|
|
614 |
|
|
* HTML.pm.src: Some typos are fixed. |
615 |
|
|
|
616 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
617 |
|
|
|
618 |
|
|
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
619 |
|
|
are removed. |
620 |
|
|
|
621 |
|
|
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
622 |
|
|
|
623 |
|
|
* HTML-consume-entity.src: Removed. |
624 |
|
|
|
625 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
626 |
|
|
|
627 |
|
|
* HTML.pm.src: Tokenizer's handling on hexadecimal |
628 |
|
|
numeric entities are rewritten. |
629 |
|
|
|
630 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
631 |
|
|
|
632 |
|
|
* HTML.pm.src: Some tokenizer bugs are fixed. |
633 |
|
|
|
634 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
635 |
|
|
|
636 |
|
|
* HTML.pm.src: The tree construction stage is implemented. |
637 |
|
|
|
638 |
|
|
* mkhtmlparser.pl: New macros are added. |
639 |
|
|
|
640 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
641 |
|
|
|
642 |
|
|
* ContentType.pm: A note on bug in the specification |
643 |
|
|
is removed since it's been now fixed. |
644 |
|
|
|
645 |
|
|
* .cvsignore: New file. |
646 |
|
|
|
647 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
648 |
|
|
|
649 |
|
|
* HTML.pm.src, HTML-consume-entity.src: New files. |
650 |
|
|
|
651 |
|
|
* Makefile (HTML.pm): New rule. |
652 |
|
|
|
653 |
|
|
* mkhtmlparser.pl: New script. |
654 |
|
|
|
655 |
|
|
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
656 |
|
|
|
657 |
|
|
* Makefile: New file. |
658 |
|
|
|
659 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
660 |
|
|
|
661 |
|
|
* ContentType.pm: An error in pod is fixed. |
662 |
|
|
|
663 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
664 |
|
|
|
665 |
|
|
* ContentType.pm: Documentation is added. |
666 |
|
|
|
667 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
668 |
|
|
|
669 |
|
|
* ContentType.pm: New Perl module. |
670 |
|
|
|
671 |
|
|
* ChangeLog: New file. |
672 |
|
|
|
673 |
|
|
|