1 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (main and trailin end phases): Token |
4 |
|
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
5 |
|
factored out. Error types |in html:#DOCTYPE| |
6 |
|
and |after html:#DOCTYPE| are merged |
7 |
|
into |DOCTYPE in the middle|. |</frameset>| |
8 |
|
in fragment parsing mode changed the |
9 |
|
insertion mode. |
10 |
|
|
11 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
14 |
|
phase is now an insertion mode. Treatments for white |
15 |
|
space character tokens were incorrect for some |
16 |
|
insertion modes. An old |meta| case was not removed. |
17 |
|
|
18 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* HTML.pm.src: |meta| charset declaration extraction |
21 |
|
implemented (but changing the encoding is not yet:-). |
22 |
|
|
23 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* Charset/: New directory. |
26 |
|
|
27 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* H2H.pm: New Perl module (created from |
30 |
|
manakai's H2H.dis). |
31 |
|
|
32 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* XMLSerializer.pm: New Perl module (created from |
35 |
|
manakai's SimpleLS.dis). |
36 |
|
|
37 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* HTML.pm.src: |<!---x-->| was not processed correctly. |
40 |
|
|
41 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* HTML.pm.src: Report correct error message |
44 |
|
for |<body></div></body>|. |
45 |
|
|
46 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* HTMLTable.pm: An error description was incorrect. |
49 |
|
|
50 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* ContentChecker.pm: Return |{term}| list. |
53 |
|
|
54 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
57 |
|
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
58 |
|
and <title> outside of head). |
59 |
|
|
60 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* IMTChecker.pm: Report warning for unregistered |
63 |
|
and private types/subtypes. |
64 |
|
|
65 |
|
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
66 |
|
URIChecker.pm, HTMLTable.pm: Error messages are now |
67 |
|
consistent; they are all listed in |
68 |
|
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
69 |
|
|
70 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
73 |
|
is now erred. |<datalist>| is implemented. |
74 |
|
Attribute checker for |<command>| and |<menu>| are |
75 |
|
added. Support for |contextmenu| global attribute |
76 |
|
is added. |
77 |
|
|
78 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* HTML.pm.src (_reset_insertion_mode): Interpretation |
81 |
|
of Step 3 has been changed. |
82 |
|
|
83 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* HTML.pm.src: Late |<html>| parse error is implemented. |
86 |
|
|
87 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* URIChecker.pm (check_iri_reference): A |decode| method name was |
90 |
|
incorrect. |
91 |
|
|
92 |
|
* ContentChecker.pm: Support for the |footer| element. |
93 |
|
Check URI syntax for space-separated URI attributes. |
94 |
|
Support for the |tabindex| attribute. Support |
95 |
|
for |datetime| attribute. |
96 |
|
|
97 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
100 |
|
character references). HTML5 revision 1.146 (white space |
101 |
|
characters before root start tag). HTML5 revision |
102 |
|
1.148 (named character references in attribute values). |
103 |
|
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
104 |
|
|
105 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
108 |
|
in <head>). |
109 |
|
|
110 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
113 |
|
in body). |
114 |
|
|
115 |
|
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
116 |
|
|
117 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
120 |
|
or RCDATA in fragment parsing mode). HTML5 revision |
121 |
|
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
122 |
|
|
123 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
126 |
|
for <pre> and <textarea>). |
127 |
|
|
128 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
131 |
|
|
132 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
135 |
|
|
136 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
138 |
|
* HTML.pm.src: HTML5 revision 916 (</body>). |
139 |
|
HTML5 revision 917 (conforming bare &). |
140 |
|
|
141 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
142 |
|
|
143 |
|
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
144 |
|
|
145 |
|
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
146 |
|
HTML5 revision 915 (<nobr>). |
147 |
|
|
148 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
149 |
|
|
150 |
|
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
151 |
|
|
152 |
|
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
153 |
|
New attributes. |
154 |
|
|
155 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
158 |
|
in tags). |
159 |
|
|
160 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* .cvsignore: |Entities.html| is added. |
163 |
|
|
164 |
|
* HTML.pm.src: |$entity_char| is removed and |
165 |
|
requires |Whatpm::_NamedEntityList| instead. |
166 |
|
HTML5 revision 898 (refc), except that lack of refc |
167 |
|
is parse error. |
168 |
|
|
169 |
|
* mkentitylist.pl: New script. |
170 |
|
|
171 |
|
* Makefile (all): |_NamedEntityList.pm| is added. |
172 |
|
(_NamedEntityList.pm, Entities.html): New rules. |
173 |
|
|
174 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
175 |
|
|
176 |
|
* HTML.pm.src: Parse errors immediately after U+000D |
177 |
|
were ignored and U+000D immediately following another |
178 |
|
U+000D was not converted to U+000A. |
179 |
|
|
180 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
|
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
183 |
|
nodes before appended). Parser was not ready for NULL |
184 |
|
parse error and escape flag. |
185 |
|
|
186 |
|
* NanoDOM.pm (adopt_node): New. |
187 |
|
|
188 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* HTML.pm.src: HTML5 revision 886 (insane comment in |
191 |
|
CDATA and RCDATA). Note that current implementation |
192 |
|
is simply repeating what the spec says and it is maybe not |
193 |
|
a best way to do it. |
194 |
|
|
195 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
198 |
|
the form element if a descendant element without implied end tag has |
199 |
|
still been open). |
200 |
|
|
201 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
202 |
|
|
203 |
|
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
204 |
|
space characters non-conforming). |
205 |
|
|
206 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
208 |
|
* HTML.pm.src: An error message was incorrect. |
209 |
|
HTML5 revision 869 (C1 character references). |
210 |
|
|
211 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
214 |
|
a |textarea| is removed). |
215 |
|
|
216 |
|
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
219 |
|
|
220 |
|
* ContentChecker.pm: |script| |async| and |defer| |
221 |
|
no longer require |src|. |async| MUST NOT be |
222 |
|
specified if |defer|. (HTML5 revision 858). |
223 |
|
|
224 |
|
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
227 |
|
|
228 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
229 |
|
|
230 |
|
* ContentChecker.pm (html): Set |is_root| (allowed |
231 |
|
as a document element) flag on. |
232 |
|
(new): Removed. |
233 |
|
(check_document): New method. |
234 |
|
|
235 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
236 |
|
|
237 |
|
* ContentChecker.pm (thead, tfoot): Checker specifications |
238 |
|
were incorrect. |
239 |
|
|
240 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
241 |
|
|
242 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
243 |
|
error position in the |type| option of the error. |
244 |
|
|
245 |
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
246 |
|
is now optional. Some bugs are fixed. |
247 |
|
|
248 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
249 |
|
|
250 |
|
* HTMLTable.pm: New module. |
251 |
|
|
252 |
|
* ContentChecker.pm (table): Invoke table model error checker. |
253 |
|
|
254 |
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
255 |
|
|
256 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
259 |
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
260 |
|
|
261 |
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
262 |
|
|
263 |
|
* _LinkTypeList.pm: New file. |
264 |
|
|
265 |
|
* mklinktypelist.pl: New file. |
266 |
|
|
267 |
|
* .cvsignore: |RelExtensions.html| added. |
268 |
|
|
269 |
|
* NanoDOM.pm (child_nodes): Returns an empty array |
270 |
|
for non-child-containing node types. |
271 |
|
(text_content): New attribute. |
272 |
|
|
273 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
274 |
|
|
275 |
|
* IMTChecker.pm: New module. |
276 |
|
|
277 |
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
278 |
|
to test parameter value validity. |
279 |
|
|
280 |
|
* HTML.pm.src ($style_start_tag): Attributes were |
281 |
|
discarded. |
282 |
|
|
283 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
286 |
|
|
287 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
288 |
|
|
289 |
|
* URIChecker.pm: All recommendations from RFC 3986 |
290 |
|
and RFC 3987 are listed (not all testable items are checked yet). |
291 |
|
|
292 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* URIChecker.pm: New module. |
295 |
|
|
296 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
297 |
|
|
298 |
|
* ContentChecker.pm: Now most attributes are implemented |
299 |
|
or associated to some placeholder. |
300 |
|
($ElementDefault): Warn unknown attributes |
301 |
|
for unknown elements as "attribute not supported". |
302 |
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
303 |
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
304 |
|
(|a| attribute checker): Reimplemented. |
305 |
|
|
306 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
308 |
|
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
309 |
|
($HTMLAttrChecker): Event handler content attributes |
310 |
|
are added. |
311 |
|
(link, embed): Required attribute is now checked. |
312 |
|
(embed): Unknown local attributes are no longer warned. |
313 |
|
|
314 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
315 |
|
|
316 |
|
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
317 |
|
($HTMLIMTAttrChecker): New checker. |
318 |
|
(link@rel, link@href, link@type, style@type, |
319 |
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
320 |
|
object@data, object@type, source@src, source@type, area@alt, |
321 |
|
area@shape, area@coords, area@href, |
322 |
|
area@ping, area@rel, area@type, script@src, |
323 |
|
script@defer, script@async, script@type): Checkers added. |
324 |
|
|
325 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
326 |
|
|
327 |
|
* ContentChecker.pm: Descendant checking was incorrect. |
328 |
|
|
329 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
331 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |