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