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