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