1 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Similar codes are merged together, again. |
4 |
|
|
5 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* HTML.pm.src: Similar codes are merged together. |
8 |
|
|
9 |
|
2008-03-10 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* mkhtmlparser.pl: Set "level" parameter to parse errors. |
12 |
|
|
13 |
|
* HTML.pm.src: Code refined. |
14 |
|
|
15 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: |</body>| treatement has been changed (HTML5 |
18 |
|
revision 1348). Note that I really don't know this makes |
19 |
|
any difference in the black-box behavior of the parser. |
20 |
|
|
21 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTML.pm.src: New end-of-file token implementation (HTML5 |
24 |
|
revision 1348). |
25 |
|
|
26 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* HTML.pm.src: |applet| support (HTML5 revision 1347). |
29 |
|
|
30 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343). |
33 |
|
|
34 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* HTML.pm.src: Support for |<input>| in the "in select" insertion |
37 |
|
mode and support for the "in select in table" insertion mode (HTML5 |
38 |
|
revision 1342). |
39 |
|
|
40 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
43 |
|
in non-tainted <table>s (HTML5 revision 1336). |
44 |
|
|
45 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* HTML.pm.src: Ignore white space characters between <html> |
48 |
|
and <head> (HTML5 revision 1332). |
49 |
|
|
50 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
53 |
|
white space (HTML5 revision 1331). |
54 |
|
|
55 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
58 |
|
element (HTML5 revision 1330). |
59 |
|
|
60 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* HTML.pm.src: <title> is always appended to the current |
63 |
|
element (HTML5 revision 1328). |
64 |
|
|
65 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* HTML.pm.src: White space in tainted tables are moved |
68 |
|
into foster parents (HTML5 revision 1326). |
69 |
|
|
70 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
73 |
|
revision 1321). |
74 |
|
|
75 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
78 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
79 |
|
all of HTML5 revision 1320 changes. |
80 |
|
|
81 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
84 |
|
tags (HTML5 revision 1320). |
85 |
|
|
86 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
87 |
|
|
88 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
89 |
|
|
90 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
93 |
|
could not be reached so that it is now removed (HTML5 revision |
94 |
|
1320). |
95 |
|
|
96 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
99 |
|
to align with new spec text (HTML5 revision 1320). |
100 |
|
|
101 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
104 |
|
have had no harm in theory. |
105 |
|
|
106 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
109 |
|
case is split from other end tags for the preparation |
110 |
|
of implementing HTML revision 1320. |
111 |
|
|
112 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
115 |
|
revision 1320). |
116 |
|
|
117 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
120 |
|
and "div" (HTML5 revision 1318). Add comments to where |
121 |
|
|form| pointer association codes should be inserted (HTML5 revision |
122 |
|
1319). |
123 |
|
|
124 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
126 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
127 |
|
|
128 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
131 |
|
other token type, there are), it is replaced by a |die| statement. |
132 |
|
|
133 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* HTML.pm.src: Typo fixed. |
136 |
|
|
137 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
140 |
|
doctypes were not uppercased for comparison. |
141 |
|
|
142 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
145 |
|
are added. |
146 |
|
|
147 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
150 |
|
are set. Cases that are unlikely reached are noted as so. |
151 |
|
|
152 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
155 |
|
|
156 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
157 |
|
|
158 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
161 |
|
for simplicity. |
162 |
|
|
163 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
164 |
|
|
165 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
166 |
|
revision 1307). |
167 |
|
|
168 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
169 |
|
|
170 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
171 |
|
is set are changed (HTML5 revision 1305). |
172 |
|
|
173 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
176 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
177 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
178 |
|
of attribute value literals (HTML5 revision 1296). More |
179 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
180 |
|
between attributes and ban attribute names or unquoted |
181 |
|
attribute values containing single or double quotes (HTML5 |
182 |
|
revision 1303). |
183 |
|
|
184 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
187 |
|
and related errors unless it is an HTML document (though the spec |
188 |
|
is unclear on whether it is applied to XHTML document). |
189 |
|
|
190 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
191 |
|
are added. |
192 |
|
|
193 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
196 |
|
|
197 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
200 |
|
|
201 |
|
* HTML.pm.src: |charset| in |content| attribute is |
202 |
|
case-insensitive (HTML5 revision 1270). |
203 |
|
|
204 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* ContentChecker.pm: New status constants are added. |
207 |
|
($ElementDefault): |status| added. |
208 |
|
(check_element): Err for non-standard or deprecated elements. |
209 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
210 |
|
|
211 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
214 |
|
|
215 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
216 |
|
|
217 |
|
* ContentChecker.pm (check_element): Element standardized |
218 |
|
status information is now dispatched. |
219 |
|
|
220 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
223 |
|
problem by adding some more arguments. |
224 |
|
|
225 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
226 |
|
|
227 |
|
* ContentChecker.pm (check_element): Use context of |
228 |
|
container-for-the-purpose-of-content-model element (not transparent |
229 |
|
element) for |check_child_element| calling and significant |
230 |
|
text flag marking. This reintroduces |<del>|-and-significant |
231 |
|
problem again. |
232 |
|
|
233 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
235 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
236 |
|
elements ignored for the purpose of phase changes in |
237 |
|
content model checking. |
238 |
|
|
239 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* ContentChecker.pm (check_element): In-element state |
242 |
|
was not properly managed for transparent cases. |
243 |
|
|
244 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
245 |
|
|
246 |
|
* ContentChecker.pm (check_element): Support for |video| |
247 |
|
and |audio| as semi-transparent elements. |
248 |
|
|
249 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
250 |
|
|
251 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
252 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
253 |
|
Support for |html:object| as a semi-transparent element. |
254 |
|
|
255 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
256 |
|
|
257 |
|
* ContentChecker.pm (check_element): The way to traverse |
258 |
|
the tree is entirely revised to make it easier to track |
259 |
|
the state of ancestors/descendants. As a result of this |
260 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
261 |
|
support for content model checking for HTML elements |figure|, |
262 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
263 |
|
some XMLNS checkings) are dropped for now. They will be |
264 |
|
reimplemented in due cource. |
265 |
|
|
266 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
268 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
269 |
|
token (HTML5 revision 1225). |
270 |
|
|
271 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
274 |
|
|
275 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
276 |
|
contains character references or not. |
277 |
|
|
278 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
281 |
|
imlement significant content checking for contents |
282 |
|
with |del| elements. |
283 |
|
|
284 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
287 |
|
elements are added. |
288 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
289 |
|
|
290 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
291 |
|
|
292 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
295 |
|
|
296 |
|
* CacheManifest.pod: Updated. |
297 |
|
|
298 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
299 |
|
|
300 |
|
* ContentChecker.pm (check_document, check_element): Support |
301 |
|
for second argument ($onsubdoc). |
302 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
303 |
|
|
304 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* ContentChecker.pm (_get_css_parser): New. |
307 |
|
|
308 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
310 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
311 |
|
for checking had been used. |
312 |
|
|
313 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
314 |
|
|
315 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
316 |
|
|
317 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
318 |
|
|
319 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
320 |
|
specced in RFC 2046 and RFC 4288. |
321 |
|
(application/atom+xml): Definition added. |
322 |
|
|
323 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
326 |
|
warnings (rather than SHOULD-level errors). |
327 |
|
|
328 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
331 |
|
|
332 |
|
* HTML.pm.src: A flag for character references in attribute |
333 |
|
values are added. Set |manakai_has_reference| user data |
334 |
|
to |charset| attribute. |
335 |
|
|
336 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
337 |
|
|
338 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
339 |
|
attributes. |
340 |
|
|
341 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
342 |
|
cannot be tested. |
343 |
|
|
344 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
345 |
|
|
346 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
347 |
|
by universalchardet if charset parameter is not specified. |
348 |
|
|
349 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
350 |
|
|
351 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
352 |
|
|
353 |
|
* ContentChecker.pm (check_document): Check the existence |
354 |
|
of character encoding declaration and selection of encoding |
355 |
|
for HTML document. |
356 |
|
|
357 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
360 |
|
type in list context. |
361 |
|
|
362 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
363 |
|
|
364 |
|
* ContentType.pm: Sniffing with leading white space |
365 |
|
ignoring (HTML5 revisions 1013 and 1016). |
366 |
|
|
367 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
368 |
|
|
369 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
370 |
|
white spaces, are implemented. |
371 |
|
|
372 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
373 |
|
|
374 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
375 |
|
attribute if possible. |
376 |
|
|
377 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
378 |
|
|
379 |
|
* HTML.pm.src (parse_byte_string): New method. |
380 |
|
(parse_char_string): New alias for |parse_string|. |
381 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
382 |
|
|
383 |
|
* HTML.pod: Updated. |
384 |
|
|
385 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
386 |
|
|
387 |
|
* HTML.pod (get_inner_html): Removed. |
388 |
|
|
389 |
|
* Makefile (HTML-all, HTML-clean): New. |
390 |
|
|
391 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
392 |
|
|
393 |
|
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
394 |
|
|
395 |
|
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
396 |
|
|
397 |
|
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
398 |
|
|
399 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
400 |
|
|
401 |
|
* Makefile: |CacheManifest.html| is added. |
402 |
|
|
403 |
|
* CacheManifest.pod: New file. |
404 |
|
|
405 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
406 |
|
|
407 |
|
* CacheManifest.pm: New module. |
408 |
|
|
409 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
410 |
|
|
411 |
|
* HTML.pm.src: Support for application cache selection algorithm |
412 |
|
callback. |
413 |
|
|
414 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
415 |
|
|
416 |
|
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
417 |
|
|
418 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
419 |
|
|
420 |
|
* Makefile (clean): New rule. |
421 |
|
|
422 |
|
* NanoDOM.pm (public_id, system_id): New attributes. |
423 |
|
|
424 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
425 |
|
|
426 |
|
* Makefile (CSS-all, CSS-clean, clean): New rules. |
427 |
|
|
428 |
|
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
429 |
|
|
430 |
|
* ContentChecker.pm (check_document): Support for |
431 |
|
new |is_xml_root| flag. |
432 |
|
(check_element): Support for new |pluses| state. |
433 |
|
(_add_pluses): New method. |
434 |
|
(_remove_minuses): Support for new |minus| item. |
435 |
|
|
436 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
437 |
|
|
438 |
|
* ContentChecker.pm: Raise specific error for invalid |
439 |
|
root element. |
440 |
|
|
441 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
442 |
|
|
443 |
|
* ContentChecker.pm: Set level values for later uses. |
444 |
|
|
445 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
446 |
|
|
447 |
|
* ContentChecker.pm: Support for language tag validation. |
448 |
|
|
449 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
450 |
|
|
451 |
|
* LangTag.pm (check_rfc3066_language_tag): New method. |
452 |
|
|
453 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
454 |
|
|
455 |
|
* LangTag.pm: New module. |
456 |
|
|
457 |
|
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
458 |
|
|
459 |
|
* HTML.pm.src: Some error types were wrong. |
460 |
|
|
461 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
462 |
|
|
463 |
|
* CSS/: New directory. |
464 |
|
|
465 |
|
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
466 |
|
|
467 |
|
* ContentChecker.pm (_check_get_children): Support |
468 |
|
for |noscript| in |head|. |
469 |
|
|
470 |
|
2007-08-12 Wakaba <wakaba@suika.fam.cx> |
471 |
|
|
472 |
|
* URI/: New directory. |
473 |
|
|
474 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
475 |
|
|
476 |
|
* HTML.pm.src: Tokenizer's states are now represented in |
477 |
|
number. |
478 |
|
|
479 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
480 |
|
|
481 |
|
* HTML.pm.src: |or|s for insertion modes are replaced |
482 |
|
by |&|s. |
483 |
|
|
484 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
485 |
|
|
486 |
|
* HTML.pm.src: Token types are now represented in number. |
487 |
|
|
488 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
489 |
|
|
490 |
|
* ContentType.pm (SEE ALSO): Updated. |
491 |
|
|
492 |
|
* HTML.pm.src: Insertion modes are now represented in number. |
493 |
|
|
494 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
495 |
|
|
496 |
|
* ContentType.pm: Sniffing for bitmap images (HTML5 revision |
497 |
|
999) is implemented. |
498 |
|
|
499 |
|
2007-08-08 Wakaba <wakaba@suika.fam.cx> |
500 |
|
|
501 |
|
* ContentType.pm: Sniffing for |<script| (HTML5 revision |
502 |
|
983) is implemented. |
503 |
|
|
504 |
|
2007-08-06 Wakaba <wakaba@suika.fam.cx> |
505 |
|
|
506 |
|
* ContentChecker.pod: New documentation. |
507 |
|
|
508 |
|
* Makefile: A rule for |ContentChecker.html| is added. |
509 |
|
|
510 |
|
* ContentChecker.pm: A pod "LICENSE" section is added. |
511 |
|
|
512 |
|
* NanoDOM.pm ($VERSION): New variable. |
513 |
|
|
514 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
515 |
|
|
516 |
|
* H2H.pm: |b|, |i|, and |sub| are added to the |
517 |
|
list of allowed HTML elements. |
518 |
|
|
519 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
520 |
|
|
521 |
|
* H2H.pm: |samp| is added to the list of allowed |
522 |
|
HTML elements. |
523 |
|
|
524 |
|
* URIChecker.pm (check_iri): New. |
525 |
|
(check_iri_reference): Error type for IRI reference |
526 |
|
syntax error is changed. |
527 |
|
|
528 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
529 |
|
|
530 |
|
* ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom| |
531 |
|
is added. |
532 |
|
(check_document): Load appropriate module before validation. |
533 |
|
|
534 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
535 |
|
|
536 |
|
* ContentChecker/: New directory. |
537 |
|
|
538 |
|
2007-08-04 Wakaba <wakaba@suika.fam.cx> |
539 |
|
|
540 |
|
* ContentChecker.pm: HTML |time| element is implemented. |
541 |
|
|
542 |
|
* HTMLTable.pm: Comments are updated as HTML5 is revised. |
543 |
|
|
544 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
545 |
|
|
546 |
|
* ContentChecker.pm (check_document): Return value |
547 |
|
even if no document element is found. |
548 |
|
|
549 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
550 |
|
|
551 |
|
* HTML.pm.src: |$in_body| is no longer a function. |
552 |
|
|
553 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
554 |
|
|
555 |
|
* HTML.pm.src: The |$in_body| code has been moved down. |
556 |
|
|
557 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
558 |
|
|
559 |
|
* HTML.pm.src: The "trailing end" insertion mode |
560 |
|
is split into "after html body" and "after html frameset" |
561 |
|
insertion modes. Their codes are merged with "after body" |
562 |
|
and "after frameset" codes. |$previous_insertion_mode| |
563 |
|
has been removed. "after frameset" code is |
564 |
|
merged with "in frameset" code. |
565 |
|
|
566 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
567 |
|
|
568 |
|
* HTML.pm.src: The "before head" insertion mode is |
569 |
|
merged with the "in head" insertion mode. |
570 |
|
|
571 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
572 |
|
|
573 |
|
* HTML.pm.src: Cases in "in head" insertion mode are |
574 |
|
reorganized. |
575 |
|
|
576 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
577 |
|
|
578 |
|
* HTML.pm.src: Some cases in "in table" insertion mode |
579 |
|
are merged. |
580 |
|
|
581 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
582 |
|
|
583 |
|
* HTML.pm.src: The "in row" insertion mode is merged |
584 |
|
with "in table" insertion mode. |
585 |
|
|
586 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
587 |
|
|
588 |
|
* HTML.pm.src: The "in table" and "in table body" insertion |
589 |
|
modes are merged. |
590 |
|
|
591 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
592 |
|
|
593 |
|
* HTML.pm.src: There is no "in table head" or "in table foot" |
594 |
|
insertion mode! |
595 |
|
|
596 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
597 |
|
|
598 |
|
* HTML.pm.src: |<noframes>| "in frameset" and "in noframes" |
599 |
|
now directly invoke the handler. |
600 |
|
|
601 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
602 |
|
|
603 |
|
* HTML.pm.src: Codes for "in cell" insertion mode |
604 |
|
is merged to the "in body" insertion mode code. |
605 |
|
|
606 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
607 |
|
|
608 |
|
* HTML.pm.src: Codes for "in body" and "in caption" |
609 |
|
insertion modes are merged. |
610 |
|
|
611 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
612 |
|
|
613 |
|
* HTML.pm.src: Two |!!!next-token|s were missing. |
614 |
|
|
615 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
616 |
|
|
617 |
|
* HTML.pm.src: Use numeric constant for |{content_mode}| |
618 |
|
instead of string constant for |{content_model_flag}|. |
619 |
|
|
620 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
621 |
|
|
622 |
|
* HTML.pm.src: Add the name of the attribute |
623 |
|
to the "duplicate attribute" error. |
624 |
|
|
625 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
626 |
|
|
627 |
|
* ContentChecker.pm: Return the |class| node list. |
628 |
|
|
629 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
630 |
|
|
631 |
|
* ContentChecker.pm: Return the |id| node list. |
632 |
|
|
633 |
|
* HTML.pm.src: A typo is fixed. |
634 |
|
|
635 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
636 |
|
|
637 |
|
* ContentChecker.pm: Drop wrong |level => 'error'| specification |
638 |
|
from "in HTML:xml:lang" error. Character position |
639 |
|
is now the last part of the error type in the URI error |
640 |
|
description. Report "unsupported" status for language |
641 |
|
tags, media queries, script codes, and style sheets. |
642 |
|
|
643 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
644 |
|
|
645 |
|
* ContentChecker.pm: Report error if |xml:lang| |
646 |
|
in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset| |
647 |
|
in XML. |
648 |
|
|
649 |
|
* NanoDOM.pm (Attr.owner_document): New attribute. |
650 |
|
|
651 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
652 |
|
|
653 |
|
* HTML.pm.src: The character immediately following |
654 |
|
a bare |hcro| was discarded. Fix handling of |
655 |
|
entity references in attribute values. |
656 |
|
|
657 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
658 |
|
|
659 |
|
* HTML.pm.src (main and trailin end phases): Token |
660 |
|
types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are |
661 |
|
factored out. Error types |in html:#DOCTYPE| |
662 |
|
and |after html:#DOCTYPE| are merged |
663 |
|
into |DOCTYPE in the middle|. |</frameset>| |
664 |
|
in fragment parsing mode changed the |
665 |
|
insertion mode. |
666 |
|
|
667 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
668 |
|
|
669 |
|
* HTML.pm.src: |$phase| has been removed; The |trailing end| |
670 |
|
phase is now an insertion mode. Treatments for white |
671 |
|
space character tokens were incorrect for some |
672 |
|
insertion modes. An old |meta| case was not removed. |
673 |
|
|
674 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
675 |
|
|
676 |
|
* HTML.pm.src: |meta| charset declaration extraction |
677 |
|
implemented (but changing the encoding is not yet:-). |
678 |
|
|
679 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
680 |
|
|
681 |
|
* Charset/: New directory. |
682 |
|
|
683 |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
684 |
|
|
685 |
* H2H.pm: New Perl module (created from |
* H2H.pm: New Perl module (created from |