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