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