1 |
wakaba |
1.33 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
wakaba |
1.35 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
4 |
|
|
space characters non-conforming). |
5 |
|
|
|
6 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
|
8 |
wakaba |
1.34 |
* HTML.pm.src: An error message was incorrect. |
9 |
|
|
HTML5 revision 869 (C1 character references). |
10 |
|
|
|
11 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
|
13 |
wakaba |
1.33 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
14 |
|
|
a |textarea| is removed). |
15 |
|
|
|
16 |
wakaba |
1.32 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
|
18 |
|
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
19 |
|
|
|
20 |
|
|
* ContentChecker.pm: |script| |async| and |defer| |
21 |
|
|
no longer require |src|. |async| MUST NOT be |
22 |
|
|
specified if |defer|. (HTML5 revision 858). |
23 |
|
|
|
24 |
wakaba |
1.31 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
|
26 |
|
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
27 |
|
|
|
28 |
wakaba |
1.27 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
|
30 |
wakaba |
1.30 |
* ContentChecker.pm (html): Set |is_root| (allowed |
31 |
|
|
as a document element) flag on. |
32 |
|
|
(new): Removed. |
33 |
|
|
(check_document): New method. |
34 |
|
|
|
35 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
|
37 |
wakaba |
1.29 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
38 |
|
|
were incorrect. |
39 |
|
|
|
40 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
|
42 |
wakaba |
1.28 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
43 |
|
|
error position in the |type| option of the error. |
44 |
|
|
|
45 |
|
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
46 |
|
|
is now optional. Some bugs are fixed. |
47 |
|
|
|
48 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
|
50 |
wakaba |
1.27 |
* HTMLTable.pm: New module. |
51 |
|
|
|
52 |
|
|
* ContentChecker.pm (table): Invoke table model error checker. |
53 |
|
|
|
54 |
|
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
55 |
|
|
|
56 |
wakaba |
1.25 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
|
58 |
wakaba |
1.26 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
59 |
|
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
60 |
|
|
|
61 |
|
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
62 |
|
|
|
63 |
|
|
* _LinkTypeList.pm: New file. |
64 |
|
|
|
65 |
|
|
* mklinktypelist.pl: New file. |
66 |
|
|
|
67 |
|
|
* .cvsignore: |RelExtensions.html| added. |
68 |
|
|
|
69 |
|
|
* NanoDOM.pm (child_nodes): Returns an empty array |
70 |
|
|
for non-child-containing node types. |
71 |
|
|
(text_content): New attribute. |
72 |
|
|
|
73 |
|
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
|
75 |
wakaba |
1.25 |
* IMTChecker.pm: New module. |
76 |
|
|
|
77 |
|
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
78 |
|
|
to test parameter value validity. |
79 |
|
|
|
80 |
|
|
* HTML.pm.src ($style_start_tag): Attributes were |
81 |
|
|
discarded. |
82 |
|
|
|
83 |
wakaba |
1.22 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
|
85 |
wakaba |
1.24 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
86 |
|
|
|
87 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
|
89 |
wakaba |
1.23 |
* URIChecker.pm: All recommendations from RFC 3986 |
90 |
|
|
and RFC 3987 are listed (not all testable items are checked yet). |
91 |
|
|
|
92 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
|
94 |
wakaba |
1.22 |
* URIChecker.pm: New module. |
95 |
|
|
|
96 |
wakaba |
1.18 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
|
98 |
wakaba |
1.21 |
* ContentChecker.pm: Now most attributes are implemented |
99 |
|
|
or associated to some placeholder. |
100 |
|
|
($ElementDefault): Warn unknown attributes |
101 |
|
|
for unknown elements as "attribute not supported". |
102 |
|
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
103 |
|
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
104 |
|
|
(|a| attribute checker): Reimplemented. |
105 |
|
|
|
106 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
|
108 |
wakaba |
1.20 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
109 |
|
|
($HTMLAttrChecker): Event handler content attributes |
110 |
|
|
are added. |
111 |
|
|
(link, embed): Required attribute is now checked. |
112 |
|
|
(embed): Unknown local attributes are no longer warned. |
113 |
|
|
|
114 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
|
116 |
wakaba |
1.19 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
117 |
|
|
($HTMLIMTAttrChecker): New checker. |
118 |
|
|
(link@rel, link@href, link@type, style@type, |
119 |
|
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
120 |
|
|
object@data, object@type, source@src, source@type, area@alt, |
121 |
|
|
area@shape, area@coords, area@href, |
122 |
|
|
area@ping, area@rel, area@type, script@src, |
123 |
|
|
script@defer, script@async, script@type): Checkers added. |
124 |
|
|
|
125 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
|
127 |
wakaba |
1.18 |
* ContentChecker.pm: Descendant checking was incorrect. |
128 |
|
|
|
129 |
wakaba |
1.12 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
|
131 |
wakaba |
1.17 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
132 |
|
|
attributes. Report an error if |Element.prefix| |
133 |
|
|
is |xmlns|. |
134 |
|
|
|
135 |
|
|
* NanoDOM.pm (prefix): New attribute. |
136 |
|
|
|
137 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
|
139 |
wakaba |
1.16 |
* HTML.pm.src: In |main| phase, |in body| insertion |
140 |
|
|
mode, action for |<iframe>| was missing. |
141 |
|
|
|
142 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
|
144 |
wakaba |
1.15 |
* ContentChecker.pm: Support for many of HTML5 elements. |
145 |
|
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
146 |
|
|
|
147 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
|
149 |
wakaba |
1.14 |
* ContentChecker.pm: Support for most elements up to |progress|. |
150 |
|
|
($HTMLURIAttrChecker): Placeholder. |
151 |
|
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
152 |
|
|
New. |
153 |
|
|
|
154 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
|
156 |
wakaba |
1.13 |
* ContentChecker.pm: Attribute checkers |
157 |
|
|
for global attributes, |html|, |base|, |style|, and |meta|. |
158 |
|
|
|
159 |
|
|
* NanoDOM.pm (insert_before): Weaken reference |
160 |
|
|
to the parent node. |
161 |
|
|
(Attr::new): Set |owner_element| attribute. |
162 |
|
|
(namespace_uri, manakai_local_name): New attribute implementations. |
163 |
|
|
(owner_element): New attribute. |
164 |
|
|
|
165 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
|
167 |
wakaba |
1.12 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
168 |
|
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
169 |
|
|
$Element->{$HTML_NS}->{''}): New. |
170 |
|
|
(check_element): Invoke attrs_checker for each element. |
171 |
|
|
|
172 |
wakaba |
1.6 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
173 |
|
|
|
174 |
wakaba |
1.11 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
175 |
|
|
|
176 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
|
178 |
wakaba |
1.10 |
* ContentChecker.pm: Use hashs rather than lists for |
179 |
|
|
element type testings. |
180 |
|
|
|
181 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
|
183 |
wakaba |
1.9 |
* ContentChecker.pm: Don't generate duplicate |
184 |
|
|
error when an element type is put in the "minus" list |
185 |
|
|
and the element type is not allowed explicitly in the particular |
186 |
|
|
element content model. |
187 |
|
|
(html:a checker): New checker. |
188 |
|
|
(html:details, html:datagrid): New checkers. |
189 |
|
|
(html:legend): New checker. |
190 |
|
|
|
191 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
|
193 |
wakaba |
1.8 |
* ContentChecker.pm (html:li checker): Implemented. |
194 |
|
|
|
195 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
|
197 |
wakaba |
1.7 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
198 |
|
|
checker. |
199 |
|
|
(html:dd checker): New checker. |
200 |
|
|
(html:q, html:em, html:strong, html:small, |
201 |
|
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
202 |
|
|
|
203 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
|
205 |
wakaba |
1.6 |
* ContentChecker.pm ($AnyChecker): Renamed |
206 |
|
|
from |$ElementDefault->{checker}|. |
207 |
|
|
($ElementDefault->{checker}): Throw an error that |
208 |
|
|
the element type is not supported by the checker. |
209 |
|
|
($HTMLMetadataElement): |html:base| was missing. |
210 |
|
|
($HTMLEmptyChecker): Don't throw an error |
211 |
|
|
for inter-element whitespace nodes. |
212 |
|
|
(html:html checker): Errors were not |
213 |
|
|
thrown even if |html:head| and/or |html:body| |
214 |
|
|
children were missing. |
215 |
|
|
(html:head checker): An error was not |
216 |
|
|
thrown if <meta charset> appered after other |
217 |
|
|
elements. |
218 |
|
|
|
219 |
wakaba |
1.5 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
220 |
|
|
|
221 |
|
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
222 |
|
|
and |noscript| elements are implemented. |
223 |
|
|
(new): New method. |
224 |
|
|
|
225 |
wakaba |
1.3 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
226 |
|
|
|
227 |
wakaba |
1.4 |
* ContentChecker.pm: New module. |
228 |
|
|
|
229 |
|
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
230 |
|
|
|
231 |
wakaba |
1.3 |
* NanoDOM.pm (manakai_parent_element, |
232 |
|
|
document_element, manakai_local_name, |
233 |
|
|
manakai_element_type_match): New method. |
234 |
|
|
|
235 |
|
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
236 |
|
|
|
237 |
|
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
238 |
|
|
entities in C1 range using Windows-1252 mapping. Bare LF |
239 |
|
|
did not count as new line for error reporting. |
240 |
|
|
|
241 |
wakaba |
1.2 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
|
243 |
|
|
* NanoDOM.pm (DOMImplementation): New class. |
244 |
|
|
(append_child): Weaken the |parent_node| reference. |
245 |
|
|
(create_element_ns, Element new): Set the |owner_document| |
246 |
|
|
reference. |
247 |
|
|
(implementation): New attribute. |
248 |
|
|
(owner_document, local_name, namespace_uri): New attributes. |
249 |
|
|
|
250 |
|
|
* HTML.pm.src (parse_string): Line and column numbers |
251 |
|
|
are now provided to error handler. |
252 |
|
|
(!!!parse-error): Short descriptions are added. |
253 |
|
|
(_construct_tree): Split into three methods; support |
254 |
|
|
for innerHTML mode. |
255 |
|
|
(set_inner_html): New method. |
256 |
|
|
|
257 |
wakaba |
1.1 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
|
259 |
|
|
* NanoDOM.html: Documentation is added. |
260 |
|
|
|
261 |
|
|
* HTML.pod, ContentType.html: Documentation is revised. |
262 |
|
|
|
263 |
|
|
* .cvsignore: Pod2html temporary files are added. |
264 |
|
|
|
265 |
|
|
* Makefile: Make |NanoDOM.html|. |
266 |
|
|
|
267 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
|
269 |
|
|
* HTML.pm.src (parse_string): New method. |
270 |
|
|
(get_inner_html): Renamed from |inner_html|. |
271 |
|
|
|
272 |
|
|
* Makefile: A rule for |HTML.html| is added. |
273 |
|
|
|
274 |
|
|
* HTML.pod: New documentation. |
275 |
|
|
|
276 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
277 |
|
|
|
278 |
|
|
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
279 |
|
|
(clone_node): Attribute nodes were not completely copied. |
280 |
|
|
|
281 |
|
|
* HTML.pm.src: Many bugs are fixed. |
282 |
|
|
|
283 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
|
285 |
|
|
* HTML.pm.src: Some typos are fixed. |
286 |
|
|
|
287 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
288 |
|
|
|
289 |
|
|
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
290 |
|
|
are removed. |
291 |
|
|
|
292 |
|
|
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
293 |
|
|
|
294 |
|
|
* HTML-consume-entity.src: Removed. |
295 |
|
|
|
296 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
297 |
|
|
|
298 |
|
|
* HTML.pm.src: Tokenizer's handling on hexadecimal |
299 |
|
|
numeric entities are rewritten. |
300 |
|
|
|
301 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
302 |
|
|
|
303 |
|
|
* HTML.pm.src: Some tokenizer bugs are fixed. |
304 |
|
|
|
305 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
|
307 |
|
|
* HTML.pm.src: The tree construction stage is implemented. |
308 |
|
|
|
309 |
|
|
* mkhtmlparser.pl: New macros are added. |
310 |
|
|
|
311 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
312 |
|
|
|
313 |
|
|
* ContentType.pm: A note on bug in the specification |
314 |
|
|
is removed since it's been now fixed. |
315 |
|
|
|
316 |
|
|
* .cvsignore: New file. |
317 |
|
|
|
318 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
|
320 |
|
|
* HTML.pm.src, HTML-consume-entity.src: New files. |
321 |
|
|
|
322 |
|
|
* Makefile (HTML.pm): New rule. |
323 |
|
|
|
324 |
|
|
* mkhtmlparser.pl: New script. |
325 |
|
|
|
326 |
|
|
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
327 |
|
|
|
328 |
|
|
* Makefile: New file. |
329 |
|
|
|
330 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
331 |
|
|
|
332 |
|
|
* ContentType.pm: An error in pod is fixed. |
333 |
|
|
|
334 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
335 |
|
|
|
336 |
|
|
* ContentType.pm: Documentation is added. |
337 |
|
|
|
338 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
339 |
|
|
|
340 |
|
|
* ContentType.pm: New Perl module. |
341 |
|
|
|
342 |
|
|
* ChangeLog: New file. |
343 |
|
|
|
344 |
|
|
|