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