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