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