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