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