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