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