1 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Parse errors immediately after U+000D |
4 |
|
were ignored and U+000D immediately following another |
5 |
|
U+000D was not converted to U+000A. |
6 |
|
|
7 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
10 |
|
nodes before appended). Parser was not ready for NULL |
11 |
|
parse error and escape flag. |
12 |
|
|
13 |
|
* NanoDOM.pm (adopt_node): New. |
14 |
|
|
15 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: HTML5 revision 886 (insane comment in |
18 |
|
CDATA and RCDATA). Note that current implementation |
19 |
|
is simply repeating what the spec says and it is maybe not |
20 |
|
a best way to do it. |
21 |
|
|
22 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
25 |
|
the form element if a descendant element without implied end tag has |
26 |
|
still been open). |
27 |
|
|
28 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
31 |
|
space characters non-conforming). |
32 |
|
|
33 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* HTML.pm.src: An error message was incorrect. |
36 |
|
HTML5 revision 869 (C1 character references). |
37 |
|
|
38 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
41 |
|
a |textarea| is removed). |
42 |
|
|
43 |
|
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
46 |
|
|
47 |
|
* ContentChecker.pm: |script| |async| and |defer| |
48 |
|
no longer require |src|. |async| MUST NOT be |
49 |
|
specified if |defer|. (HTML5 revision 858). |
50 |
|
|
51 |
|
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
54 |
|
|
55 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* ContentChecker.pm (html): Set |is_root| (allowed |
58 |
|
as a document element) flag on. |
59 |
|
(new): Removed. |
60 |
|
(check_document): New method. |
61 |
|
|
62 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* ContentChecker.pm (thead, tfoot): Checker specifications |
65 |
|
were incorrect. |
66 |
|
|
67 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
70 |
|
error position in the |type| option of the error. |
71 |
|
|
72 |
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
73 |
|
is now optional. Some bugs are fixed. |
74 |
|
|
75 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* HTMLTable.pm: New module. |
78 |
|
|
79 |
|
* ContentChecker.pm (table): Invoke table model error checker. |
80 |
|
|
81 |
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
82 |
|
|
83 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
86 |
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
87 |
|
|
88 |
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
89 |
|
|
90 |
|
* _LinkTypeList.pm: New file. |
91 |
|
|
92 |
|
* mklinktypelist.pl: New file. |
93 |
|
|
94 |
|
* .cvsignore: |RelExtensions.html| added. |
95 |
|
|
96 |
|
* NanoDOM.pm (child_nodes): Returns an empty array |
97 |
|
for non-child-containing node types. |
98 |
|
(text_content): New attribute. |
99 |
|
|
100 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
102 |
|
* IMTChecker.pm: New module. |
103 |
|
|
104 |
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
105 |
|
to test parameter value validity. |
106 |
|
|
107 |
|
* HTML.pm.src ($style_start_tag): Attributes were |
108 |
|
discarded. |
109 |
|
|
110 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
113 |
|
|
114 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* URIChecker.pm: All recommendations from RFC 3986 |
117 |
|
and RFC 3987 are listed (not all testable items are checked yet). |
118 |
|
|
119 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* URIChecker.pm: New module. |
122 |
|
|
123 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* ContentChecker.pm: Now most attributes are implemented |
126 |
|
or associated to some placeholder. |
127 |
|
($ElementDefault): Warn unknown attributes |
128 |
|
for unknown elements as "attribute not supported". |
129 |
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
130 |
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
131 |
|
(|a| attribute checker): Reimplemented. |
132 |
|
|
133 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
136 |
|
($HTMLAttrChecker): Event handler content attributes |
137 |
|
are added. |
138 |
|
(link, embed): Required attribute is now checked. |
139 |
|
(embed): Unknown local attributes are no longer warned. |
140 |
|
|
141 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
142 |
|
|
143 |
|
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
144 |
|
($HTMLIMTAttrChecker): New checker. |
145 |
|
(link@rel, link@href, link@type, style@type, |
146 |
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
147 |
|
object@data, object@type, source@src, source@type, area@alt, |
148 |
|
area@shape, area@coords, area@href, |
149 |
|
area@ping, area@rel, area@type, script@src, |
150 |
|
script@defer, script@async, script@type): Checkers added. |
151 |
|
|
152 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* ContentChecker.pm: Descendant checking was incorrect. |
155 |
|
|
156 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
158 |
|
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
159 |
|
attributes. Report an error if |Element.prefix| |
160 |
|
is |xmlns|. |
161 |
|
|
162 |
|
* NanoDOM.pm (prefix): New attribute. |
163 |
|
|
164 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* HTML.pm.src: In |main| phase, |in body| insertion |
167 |
|
mode, action for |<iframe>| was missing. |
168 |
|
|
169 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* ContentChecker.pm: Support for many of HTML5 elements. |
172 |
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
173 |
|
|
174 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
175 |
|
|
176 |
|
* ContentChecker.pm: Support for most elements up to |progress|. |
177 |
|
($HTMLURIAttrChecker): Placeholder. |
178 |
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
179 |
|
New. |
180 |
|
|
181 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* ContentChecker.pm: Attribute checkers |
184 |
|
for global attributes, |html|, |base|, |style|, and |meta|. |
185 |
|
|
186 |
|
* NanoDOM.pm (insert_before): Weaken reference |
187 |
|
to the parent node. |
188 |
|
(Attr::new): Set |owner_element| attribute. |
189 |
|
(namespace_uri, manakai_local_name): New attribute implementations. |
190 |
|
(owner_element): New attribute. |
191 |
|
|
192 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
193 |
|
|
194 |
|
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
195 |
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
196 |
|
$Element->{$HTML_NS}->{''}): New. |
197 |
|
(check_element): Invoke attrs_checker for each element. |
198 |
|
|
199 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
202 |
|
|
203 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* ContentChecker.pm: Use hashs rather than lists for |
206 |
|
element type testings. |
207 |
|
|
208 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* ContentChecker.pm: Don't generate duplicate |
211 |
|
error when an element type is put in the "minus" list |
212 |
|
and the element type is not allowed explicitly in the particular |
213 |
|
element content model. |
214 |
|
(html:a checker): New checker. |
215 |
|
(html:details, html:datagrid): New checkers. |
216 |
|
(html:legend): New checker. |
217 |
|
|
218 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
219 |
|
|
220 |
|
* ContentChecker.pm (html:li checker): Implemented. |
221 |
|
|
222 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
224 |
|
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
225 |
|
checker. |
226 |
|
(html:dd checker): New checker. |
227 |
|
(html:q, html:em, html:strong, html:small, |
228 |
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
229 |
|
|
230 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
232 |
|
* ContentChecker.pm ($AnyChecker): Renamed |
233 |
|
from |$ElementDefault->{checker}|. |
234 |
|
($ElementDefault->{checker}): Throw an error that |
235 |
|
the element type is not supported by the checker. |
236 |
|
($HTMLMetadataElement): |html:base| was missing. |
237 |
|
($HTMLEmptyChecker): Don't throw an error |
238 |
|
for inter-element whitespace nodes. |
239 |
|
(html:html checker): Errors were not |
240 |
|
thrown even if |html:head| and/or |html:body| |
241 |
|
children were missing. |
242 |
|
(html:head checker): An error was not |
243 |
|
thrown if <meta charset> appered after other |
244 |
|
elements. |
245 |
|
|
246 |
|
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
249 |
|
and |noscript| elements are implemented. |
250 |
|
(new): New method. |
251 |
|
|
252 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* ContentChecker.pm: New module. |
255 |
|
|
256 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* NanoDOM.pm (manakai_parent_element, |
259 |
|
document_element, manakai_local_name, |
260 |
|
manakai_element_type_match): New method. |
261 |
|
|
262 |
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
263 |
|
|
264 |
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
265 |
|
entities in C1 range using Windows-1252 mapping. Bare LF |
266 |
|
did not count as new line for error reporting. |
267 |
|
|
268 |
|
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
269 |
|
|
270 |
|
* NanoDOM.pm (DOMImplementation): New class. |
271 |
|
(append_child): Weaken the |parent_node| reference. |
272 |
|
(create_element_ns, Element new): Set the |owner_document| |
273 |
|
reference. |
274 |
|
(implementation): New attribute. |
275 |
|
(owner_document, local_name, namespace_uri): New attributes. |
276 |
|
|
277 |
|
* HTML.pm.src (parse_string): Line and column numbers |
278 |
|
are now provided to error handler. |
279 |
|
(!!!parse-error): Short descriptions are added. |
280 |
|
(_construct_tree): Split into three methods; support |
281 |
|
for innerHTML mode. |
282 |
|
(set_inner_html): New method. |
283 |
|
|
284 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
* NanoDOM.html: Documentation is added. |
* NanoDOM.html: Documentation is added. |