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