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