1 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Typo fixed. |
4 |
|
|
5 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
8 |
|
doctypes were not uppercased for comparison. |
9 |
|
|
10 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
13 |
|
are added. |
14 |
|
|
15 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
18 |
|
are set. Cases that are unlikely reached are noted as so. |
19 |
|
|
20 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
23 |
|
|
24 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
25 |
|
|
26 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
29 |
|
for simplicity. |
30 |
|
|
31 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
34 |
|
revision 1307). |
35 |
|
|
36 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
38 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
39 |
|
is set are changed (HTML5 revision 1305). |
40 |
|
|
41 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
44 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
45 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
46 |
|
of attribute value literals (HTML5 revision 1296). More |
47 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
48 |
|
between attributes and ban attribute names or unquoted |
49 |
|
attribute values containing single or double quotes (HTML5 |
50 |
|
revision 1303). |
51 |
|
|
52 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
54 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
55 |
|
and related errors unless it is an HTML document (though the spec |
56 |
|
is unclear on whether it is applied to XHTML document). |
57 |
|
|
58 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
59 |
|
are added. |
60 |
|
|
61 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
64 |
|
|
65 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
68 |
|
|
69 |
|
* HTML.pm.src: |charset| in |content| attribute is |
70 |
|
case-insensitive (HTML5 revision 1270). |
71 |
|
|
72 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* ContentChecker.pm: New status constants are added. |
75 |
|
($ElementDefault): |status| added. |
76 |
|
(check_element): Err for non-standard or deprecated elements. |
77 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
78 |
|
|
79 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
82 |
|
|
83 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* ContentChecker.pm (check_element): Element standardized |
86 |
|
status information is now dispatched. |
87 |
|
|
88 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
91 |
|
problem by adding some more arguments. |
92 |
|
|
93 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
94 |
|
|
95 |
|
* ContentChecker.pm (check_element): Use context of |
96 |
|
container-for-the-purpose-of-content-model element (not transparent |
97 |
|
element) for |check_child_element| calling and significant |
98 |
|
text flag marking. This reintroduces |<del>|-and-significant |
99 |
|
problem again. |
100 |
|
|
101 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
104 |
|
elements ignored for the purpose of phase changes in |
105 |
|
content model checking. |
106 |
|
|
107 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
109 |
|
* ContentChecker.pm (check_element): In-element state |
110 |
|
was not properly managed for transparent cases. |
111 |
|
|
112 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* ContentChecker.pm (check_element): Support for |video| |
115 |
|
and |audio| as semi-transparent elements. |
116 |
|
|
117 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
120 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
121 |
|
Support for |html:object| as a semi-transparent element. |
122 |
|
|
123 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* ContentChecker.pm (check_element): The way to traverse |
126 |
|
the tree is entirely revised to make it easier to track |
127 |
|
the state of ancestors/descendants. As a result of this |
128 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
129 |
|
support for content model checking for HTML elements |figure|, |
130 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
131 |
|
some XMLNS checkings) are dropped for now. They will be |
132 |
|
reimplemented in due cource. |
133 |
|
|
134 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
137 |
|
token (HTML5 revision 1225). |
138 |
|
|
139 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
142 |
|
|
143 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
144 |
|
contains character references or not. |
145 |
|
|
146 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
149 |
|
imlement significant content checking for contents |
150 |
|
with |del| elements. |
151 |
|
|
152 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
155 |
|
elements are added. |
156 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
157 |
|
|
158 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
159 |
|
|
160 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
163 |
|
|
164 |
|
* CacheManifest.pod: Updated. |
165 |
|
|
166 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* ContentChecker.pm (check_document, check_element): Support |
169 |
|
for second argument ($onsubdoc). |
170 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
171 |
|
|
172 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
173 |
|
|
174 |
|
* ContentChecker.pm (_get_css_parser): New. |
175 |
|
|
176 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
179 |
|
for checking had been used. |
180 |
|
|
181 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
184 |
|
|
185 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
186 |
|
|
187 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
188 |
|
specced in RFC 2046 and RFC 4288. |
189 |
|
(application/atom+xml): Definition added. |
190 |
|
|
191 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
194 |
|
warnings (rather than SHOULD-level errors). |
195 |
|
|
196 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
197 |
|
|
198 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
199 |
|
|
200 |
|
* HTML.pm.src: A flag for character references in attribute |
201 |
|
values are added. Set |manakai_has_reference| user data |
202 |
|
to |charset| attribute. |
203 |
|
|
204 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
207 |
|
attributes. |
208 |
|
|
209 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
210 |
|
cannot be tested. |
211 |
|
|
212 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
215 |
|
by universalchardet if charset parameter is not specified. |
216 |
|
|
217 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
218 |
|
|
219 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
220 |
|
|
221 |
|
* ContentChecker.pm (check_document): Check the existence |
222 |
|
of character encoding declaration and selection of encoding |
223 |
|
for HTML document. |
224 |
|
|
225 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
226 |
|
|
227 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
228 |
|
type in list context. |
229 |
|
|
230 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
232 |
|
* ContentType.pm: Sniffing with leading white space |
233 |
|
ignoring (HTML5 revisions 1013 and 1016). |
234 |
|
|
235 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
236 |
|
|
237 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
238 |
|
white spaces, are implemented. |
239 |
|
|
240 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
241 |
|
|
242 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
243 |
|
attribute if possible. |
244 |
|
|
245 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
246 |
|
|
247 |
|
* HTML.pm.src (parse_byte_string): New method. |
248 |
|
(parse_char_string): New alias for |parse_string|. |
249 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
250 |
|
|
251 |
|
* HTML.pod: Updated. |
252 |
|
|
253 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
254 |
|
|
255 |
|
* HTML.pod (get_inner_html): Removed. |
256 |
|
|
257 |
|
* Makefile (HTML-all, HTML-clean): New. |
258 |
|
|
259 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
262 |
|
|
263 |
|
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
264 |
|
|
265 |
|
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
266 |
|
|
267 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
268 |
|
|
269 |
|
* Makefile: |CacheManifest.html| is added. |
270 |
|
|
271 |
|
* CacheManifest.pod: New file. |
272 |
|
|
273 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
274 |
|
|
275 |
|
* CacheManifest.pm: New module. |
276 |
|
|
277 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
278 |
|
|
279 |
|
* HTML.pm.src: Support for application cache selection algorithm |
280 |
|
callback. |
281 |
|
|
282 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
283 |
|
|
284 |
|
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
285 |
|
|
286 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
287 |
|
|
288 |
|
* Makefile (clean): New rule. |
289 |
|
|
290 |
|
* NanoDOM.pm (public_id, system_id): New attributes. |
291 |
|
|
292 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* Makefile (CSS-all, CSS-clean, clean): New rules. |
295 |
|
|
296 |
|
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
297 |
|
|
298 |
|
* ContentChecker.pm (check_document): Support for |
299 |
|
new |is_xml_root| flag. |
300 |
|
(check_element): Support for new |pluses| state. |
301 |
|
(_add_pluses): New method. |
302 |
|
(_remove_minuses): Support for new |minus| item. |
303 |
|
|
304 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* ContentChecker.pm: Raise specific error for invalid |
307 |
|
root element. |
308 |
|
|
309 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
310 |
|
|
311 |
|
* ContentChecker.pm: Set level values for later uses. |
312 |
|
|
313 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
314 |
|
|
315 |
|
* ContentChecker.pm: Support for language tag validation. |
316 |
|
|
317 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
318 |
|
|
319 |
|
* LangTag.pm (check_rfc3066_language_tag): New method. |
320 |
|
|
321 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
322 |
|
|
323 |
|
* LangTag.pm: New module. |
324 |
|
|
325 |
|
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
326 |
|
|
327 |
|
* HTML.pm.src: Some error types were wrong. |
328 |
|
|
329 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
331 |
|
* CSS/: New directory. |
332 |
|
|
333 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* ContentChecker.pm (_check_get_children): Support |
336 |
|
for |noscript| in |head|. |
337 |
|
|
338 |
|
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
339 |
|
|
340 |
|
* URI/: New directory. |
341 |
|
|
342 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
344 |
|
* HTML.pm.src: Tokenizer's states are now represented in |
345 |
|
number. |
346 |
|
|
347 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
348 |
|
|
349 |
|
* HTML.pm.src: |or|s for insertion modes are replaced |
350 |
|
by |&|s. |
351 |
|
|
352 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
353 |
|
|
354 |
|
* HTML.pm.src: Token types are now represented in number. |
355 |
|
|
356 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
357 |
|
|
358 |
|
* ContentType.pm (SEE ALSO): Updated. |
359 |
|
|
360 |
|
* HTML.pm.src: Insertion modes are now represented in number. |
361 |
|
|
362 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
363 |
|
|
364 |
|
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
365 |
|
999) is implemented. |
366 |
|
|
367 |
|
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
368 |
|
|
369 |
|
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
370 |
|
983) is implemented. |
371 |
|
|
372 |
|
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
373 |
|
|
374 |
|
* ContentChecker.pod: New documentation. |
375 |
|
|
376 |
|
* Makefile: A rule for |ContentChecker.html| is added. |
377 |
|
|
378 |
|
* ContentChecker.pm: A pod "LICENSE" section is added. |
379 |
|
|
380 |
|
* NanoDOM.pm ($VERSION): New variable. |
381 |
|
|
382 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
383 |
|
|
384 |
|
* H2H.pm: |b|, |i|, and |sub| are added to the |
385 |
|
list of allowed HTML elements. |
386 |
|
|
387 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
388 |
|
|
389 |
|
* H2H.pm: |samp| is added to the list of allowed |
390 |
|
HTML elements. |
391 |
|
|
392 |
|
* URIChecker.pm (check_iri): New. |
393 |
|
(check_iri_reference): Error type for IRI reference |
394 |
|
syntax error is changed. |
395 |
|
|
396 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
397 |
|
|
398 |
|
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
399 |
|
is added. |
400 |
|
(check_document): Load appropriate module before validation. |
401 |
|
|
402 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* ContentChecker/: New directory. |
405 |
|
|
406 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
407 |
|
|
408 |
|
* ContentChecker.pm: HTML |time| element is implemented. |
409 |
|
|
410 |
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
411 |
|
|
412 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
413 |
|
|
414 |
|
* ContentChecker.pm (check_document): Return value |
415 |
|
even if no document element is found. |
416 |
|
|
417 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
418 |
|
|
419 |
|
* HTML.pm.src: |$in_body| is no longer a function. |
420 |
|
|
421 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
422 |
|
|
423 |
|
* HTML.pm.src: The |$in_body| code has been moved down. |
424 |
|
|
425 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
426 |
|
|
427 |
|
* HTML.pm.src: The "trailing end" insertion mode |
428 |
|
is split into "after html body" and "after html frameset" |
429 |
|
insertion modes. Their codes are merged with "after body" |
430 |
|
and "after frameset" codes. |$previous_insertion_mode| |
431 |
|
has been removed. "after frameset" code is |
432 |
|
merged with "in frameset" code. |
433 |
|
|
434 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
435 |
|
|
436 |
|
* HTML.pm.src: The "before head" insertion mode is |
437 |
|
merged with the "in head" insertion mode. |
438 |
|
|
439 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
440 |
|
|
441 |
|
* HTML.pm.src: Cases in "in head" insertion mode are |
442 |
|
reorganized. |
443 |
|
|
444 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
445 |
|
|
446 |
|
* HTML.pm.src: Some cases in "in table" insertion mode |
447 |
|
are merged. |
448 |
|
|
449 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
450 |
|
|
451 |
|
* HTML.pm.src: The "in row" insertion mode is merged |
452 |
|
with "in table" insertion mode. |
453 |
|
|
454 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
455 |
|
|
456 |
|
* HTML.pm.src: The "in table" and "in table body" insertion |
457 |
|
modes are merged. |
458 |
|
|
459 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
460 |
|
|
461 |
|
* HTML.pm.src: There is no "in table head" or "in table foot" |
462 |
|
insertion mode! |
463 |
|
|
464 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
465 |
|
|
466 |
|
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
467 |
|
now directly invoke the handler. |
468 |
|
|
469 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
470 |
|
|
471 |
|
* HTML.pm.src: Codes for "in cell" insertion mode |
472 |
|
is merged to the "in body" insertion mode code. |
473 |
|
|
474 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
475 |
|
|
476 |
|
* HTML.pm.src: Codes for "in body" and "in caption" |
477 |
|
insertion modes are merged. |
478 |
|
|
479 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
480 |
|
|
481 |
|
* HTML.pm.src: Two |!!!next-token|s were missing. |
482 |
|
|
483 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
484 |
|
|
485 |
|
* HTML.pm.src: Use numeric constant for |{content_mode}| |
486 |
|
instead of string constant for |{content_model_flag}|. |
487 |
|
|
488 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
489 |
|
|
490 |
|
* HTML.pm.src: Add the name of the attribute |
491 |
|
to the "duplicate attribute" error. |
492 |
|
|
493 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
494 |
|
|
495 |
|
* ContentChecker.pm: Return the |class| node list. |
496 |
|
|
497 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
498 |
|
|
499 |
|
* ContentChecker.pm: Return the |id| node list. |
500 |
|
|
501 |
|
* HTML.pm.src: A typo is fixed. |
502 |
|
|
503 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
504 |
|
|
505 |
|
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
506 |
|
from "in HTML:xml:lang" error. Character position |
507 |
|
is now the last part of the error type in the URI error |
508 |
|
description. Report "unsupported" status for language |
509 |
|
tags, media queries, script codes, and style sheets. |
510 |
|
|
511 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
512 |
|
|
513 |
|
* ContentChecker.pm: Report error if |xml:lang| |
514 |
|
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
515 |
|
in XML. |
516 |
|
|
517 |
|
* NanoDOM.pm (Attr.owner_document): New attribute. |
518 |
|
|
519 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
520 |
|
|
521 |
|
* HTML.pm.src: The character immediately following |
522 |
|
a bare |hcro| was discarded. Fix handling of |
523 |
|
entity references in attribute values. |
524 |
|
|
525 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
526 |
|
|
527 |
|
* HTML.pm.src (main and trailin end phases): Token |
528 |
|
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
529 |
|
factored out. Error types |in html:#DOCTYPE| |
530 |
|
and |after html:#DOCTYPE| are merged |
531 |
|
into |DOCTYPE in the middle|. |</frameset>| |
532 |
|
in fragment parsing mode changed the |
533 |
|
insertion mode. |
534 |
|
|
535 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
536 |
|
|
537 |
|
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
538 |
|
phase is now an insertion mode. Treatments for white |
539 |
|
space character tokens were incorrect for some |
540 |
|
insertion modes. An old |meta| case was not removed. |
541 |
|
|
542 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
543 |
|
|
544 |
|
* HTML.pm.src: |meta| charset declaration extraction |
545 |
|
implemented (but changing the encoding is not yet:-). |
546 |
|
|
547 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
548 |
|
|
549 |
|
* Charset/: New directory. |
550 |
|
|
551 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
552 |
|
|
553 |
|
* H2H.pm: New Perl module (created from |
554 |
|
manakai's H2H.dis). |
555 |
|
|
556 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
557 |
|
|
558 |
|
* XMLSerializer.pm: New Perl module (created from |
559 |
|
manakai's SimpleLS.dis). |
560 |
|
|
561 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
562 |
|
|
563 |
|
* HTML.pm.src: |<!---x-->| was not processed correctly. |
564 |
|
|
565 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
566 |
|
|
567 |
|
* HTML.pm.src: Report correct error message |
568 |
|
for |<body></div></body>|. |
569 |
|
|
570 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
571 |
|
|
572 |
|
* HTMLTable.pm: An error description was incorrect. |
573 |
|
|
574 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
575 |
|
|
576 |
|
* ContentChecker.pm: Return |{term}| list. |
577 |
|
|
578 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
579 |
|
|
580 |
|
* HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>, |
581 |
|
nested <nobr>, implied </tbody>, </tfoot>, and </thead>, |
582 |
|
and <title> outside of head). |
583 |
|
|
584 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
585 |
|
|
586 |
|
* IMTChecker.pm: Report warning for unregistered |
587 |
|
and private types/subtypes. |
588 |
|
|
589 |
|
* ContentChecker.pm, HTML.pm.src, IMTChecker.pm, |
590 |
|
URIChecker.pm, HTMLTable.pm: Error messages are now |
591 |
|
consistent; they are all listed in |
592 |
|
<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>. |
593 |
|
|
594 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
595 |
|
|
596 |
|
* ContentChecker.pm: |<img ismap>| not in |<a></a>| |
597 |
|
is now erred. |<datalist>| is implemented. |
598 |
|
Attribute checker for |<command>| and |<menu>| are |
599 |
|
added. Support for |contextmenu| global attribute |
600 |
|
is added. |
601 |
|
|
602 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
603 |
|
|
604 |
|
* HTML.pm.src (_reset_insertion_mode): Interpretation |
605 |
|
of Step 3 has been changed. |
606 |
|
|
607 |
|
2007-06-25 Wakaba <wakaba@suika.fam.cx> |
608 |
|
|
609 |
|
* HTML.pm.src: Late |<html>| parse error is implemented. |
610 |
|
|
611 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
612 |
|
|
613 |
|
* URIChecker.pm (check_iri_reference): A |decode| method name was |
614 |
|
incorrect. |
615 |
|
|
616 |
|
* ContentChecker.pm: Support for the |footer| element. |
617 |
|
Check URI syntax for space-separated URI attributes. |
618 |
|
Support for the |tabindex| attribute. Support |
619 |
|
for |datetime| attribute. |
620 |
|
|
621 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
622 |
|
|
623 |
|
* HTML.pm.src: HTML5 revision 1.144 (
) and 1.145 (invalid |
624 |
|
character references). HTML5 revision 1.146 (white space |
625 |
|
characters before root start tag). HTML5 revision |
626 |
|
1.148 (named character references in attribute values). |
627 |
|
HTML5 revision 1.152 (<plaintext>.innerHTML get). |
628 |
|
|
629 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
630 |
|
|
631 |
|
* HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript> |
632 |
|
in <head>). |
633 |
|
|
634 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
635 |
|
|
636 |
|
* HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta> |
637 |
|
in body). |
638 |
|
|
639 |
|
* ContentChecker.pm: HTML5 revision 938 (scoped=""). |
640 |
|
|
641 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
642 |
|
|
643 |
|
* HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA |
644 |
|
or RCDATA in fragment parsing mode). HTML5 revision |
645 |
|
924 (<!--> and <!--->). HTML5 revision 926 (hn in hn). |
646 |
|
|
647 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
648 |
|
|
649 |
|
* HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html |
650 |
|
for <pre> and <textarea>). |
651 |
|
|
652 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
653 |
|
|
654 |
|
* HTML.pm.src: HTML5 revision 920 (<isindex>). |
655 |
|
|
656 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
657 |
|
|
658 |
|
* HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>). |
659 |
|
|
660 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
661 |
|
|
662 |
|
* HTML.pm.src: HTML5 revision 916 (</body>). |
663 |
|
HTML5 revision 917 (conforming bare &). |
664 |
|
|
665 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
666 |
|
|
667 |
|
* NanoDOM.pm (manakai_is_html): Setting to false did not work. |
668 |
|
|
669 |
|
* HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA). |
670 |
|
HTML5 revision 915 (<nobr>). |
671 |
|
|
672 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
673 |
|
|
674 |
|
* HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode). |
675 |
|
|
676 |
|
* NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode): |
677 |
|
New attributes. |
678 |
|
|
679 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
680 |
|
|
681 |
|
* HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (< |
682 |
|
in tags). |
683 |
|
|
684 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
685 |
|
|
686 |
|
* .cvsignore: |Entities.html| is added. |
687 |
|
|
688 |
|
* HTML.pm.src: |$entity_char| is removed and |
689 |
|
requires |Whatpm::_NamedEntityList| instead. |
690 |
|
HTML5 revision 898 (refc), except that lack of refc |
691 |
|
is parse error. |
692 |
|
|
693 |
|
* mkentitylist.pl: New script. |
694 |
|
|
695 |
|
* Makefile (all): |_NamedEntityList.pm| is added. |
696 |
|
(_NamedEntityList.pm, Entities.html): New rules. |
697 |
|
|
698 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
699 |
|
|
700 |
|
* HTML.pm.src: Parse errors immediately after U+000D |
701 |
|
were ignored and U+000D immediately following another |
702 |
|
U+000D was not converted to U+000A. |
703 |
|
|
704 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
705 |
|
|
706 |
|
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
707 |
|
nodes before appended). Parser was not ready for NULL |
708 |
|
parse error and escape flag. |
709 |
|
|
710 |
|
* NanoDOM.pm (adopt_node): New. |
711 |
|
|
712 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
713 |
|
|
714 |
|
* HTML.pm.src: HTML5 revision 886 (insane comment in |
715 |
|
CDATA and RCDATA). Note that current implementation |
716 |
|
is simply repeating what the spec says and it is maybe not |
717 |
|
a best way to do it. |
718 |
|
|
719 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
720 |
|
|
721 |
|
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
722 |
|
the form element if a descendant element without implied end tag has |
723 |
|
still been open). |
724 |
|
|
725 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
726 |
|
|
727 |
|
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
728 |
|
space characters non-conforming). |
729 |
|
|
730 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
731 |
|
|
732 |
|
* HTML.pm.src: An error message was incorrect. |
733 |
|
HTML5 revision 869 (C1 character references). |
734 |
|
|
735 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
736 |
|
|
737 |
|
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
738 |
|
a |textarea| is removed). |
739 |
|
|
740 |
|
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
741 |
|
|
742 |
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
743 |
|
|
744 |
|
* ContentChecker.pm: |script| |async| and |defer| |
745 |
|
no longer require |src|. |async| MUST NOT be |
746 |
|
specified if |defer|. (HTML5 revision 858). |
747 |
|
|
748 |
|
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
749 |
|
|
750 |
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
751 |
|
|
752 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
753 |
|
|
754 |
|
* ContentChecker.pm (html): Set |is_root| (allowed |
755 |
|
as a document element) flag on. |
756 |
|
(new): Removed. |
757 |
|
(check_document): New method. |
758 |
|
|
759 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
760 |
|
|
761 |
|
* ContentChecker.pm (thead, tfoot): Checker specifications |
762 |
|
were incorrect. |
763 |
|
|
764 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
765 |
|
|
766 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
767 |
|
error position in the |type| option of the error. |
768 |
|
|
769 |
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
770 |
|
is now optional. Some bugs are fixed. |
771 |
|
|
772 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
773 |
|
|
774 |
|
* HTMLTable.pm: New module. |
775 |
|
|
776 |
|
* ContentChecker.pm (table): Invoke table model error checker. |
777 |
|
|
778 |
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
779 |
|
|
780 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
781 |
|
|
782 |
|
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
783 |
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
784 |
|
|
785 |
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
786 |
|
|
787 |
|
* _LinkTypeList.pm: New file. |
788 |
|
|
789 |
|
* mklinktypelist.pl: New file. |
790 |
|
|
791 |
|
* .cvsignore: |RelExtensions.html| added. |
792 |
|
|
793 |
|
* NanoDOM.pm (child_nodes): Returns an empty array |
794 |
|
for non-child-containing node types. |
795 |
|
(text_content): New attribute. |
796 |
|
|
797 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
798 |
|
|
799 |
|
* IMTChecker.pm: New module. |
800 |
|
|
801 |
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
802 |
|
to test parameter value validity. |
803 |
|
|
804 |
|
* HTML.pm.src ($style_start_tag): Attributes were |
805 |
|
discarded. |
806 |
|
|
807 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
808 |
|
|
809 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
810 |
|
|
811 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
812 |
|
|
813 |
|
* URIChecker.pm: All recommendations from RFC 3986 |
814 |
|
and RFC 3987 are listed (not all testable items are checked yet). |
815 |
|
|
816 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
817 |
|
|
818 |
|
* URIChecker.pm: New module. |
819 |
|
|
820 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
821 |
|
|
822 |
|
* ContentChecker.pm: Now most attributes are implemented |
823 |
|
or associated to some placeholder. |
824 |
|
($ElementDefault): Warn unknown attributes |
825 |
|
for unknown elements as "attribute not supported". |
826 |
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
827 |
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
828 |
|
(|a| attribute checker): Reimplemented. |
829 |
|
|
830 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
831 |
|
|
832 |
|
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
833 |
|
($HTMLAttrChecker): Event handler content attributes |
834 |
|
are added. |
835 |
|
(link, embed): Required attribute is now checked. |
836 |
|
(embed): Unknown local attributes are no longer warned. |
837 |
|
|
838 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
839 |
|
|
840 |
|
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
841 |
|
($HTMLIMTAttrChecker): New checker. |
842 |
|
(link@rel, link@href, link@type, style@type, |
843 |
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
844 |
|
object@data, object@type, source@src, source@type, area@alt, |
845 |
|
area@shape, area@coords, area@href, |
846 |
|
area@ping, area@rel, area@type, script@src, |
847 |
|
script@defer, script@async, script@type): Checkers added. |
848 |
|
|
849 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
850 |
|
|
851 |
|
* ContentChecker.pm: Descendant checking was incorrect. |
852 |
|
|
853 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
854 |
|
|
855 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |