1 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: No foster parenting for <script> and <script> |
4 |
|
in non-tainted <table>s (HTML5 revision 1336). |
5 |
|
|
6 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: Ignore white space characters between <html> |
9 |
|
and <head> (HTML5 revision 1332). |
10 |
|
|
11 |
|
2008-03-09 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src: Treat <input type=hidden> as if it were a |
14 |
|
white space (HTML5 revision 1331). |
15 |
|
|
16 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* HTML.pm.src: Ignore U+000A at the beginning of a |listing| |
19 |
|
element (HTML5 revision 1330). |
20 |
|
|
21 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTML.pm.src: <title> is always appended to the current |
24 |
|
element (HTML5 revision 1328). |
25 |
|
|
26 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* HTML.pm.src: White space in tainted tables are moved |
29 |
|
into foster parents (HTML5 revision 1326). |
30 |
|
|
31 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* HTML.pm.src: Reduce errors from foster parenting cases (HTML5 |
34 |
|
revision 1321). |
35 |
|
|
36 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
38 |
|
* HTML.pm.src: |</h/n/>| case code rearranged to align with |
39 |
|
the spec (HTML5 revision 1320). Note that we finally complete |
40 |
|
all of HTML5 revision 1320 changes. |
41 |
|
|
42 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* HTML.pm.src: |</form>| now works similar to |</div>| for unclosed |
45 |
|
tags (HTML5 revision 1320). |
46 |
|
|
47 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: |</p>| case rearranged with no actual change in fact. |
50 |
|
|
51 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* HTML.pm.src: A "generate implied end tags" code (t409.1) |
54 |
|
could not be reached so that it is now removed (HTML5 revision |
55 |
|
1320). |
56 |
|
|
57 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* HTML.pm.src: Code for the case of |</div>| and so on are revised |
60 |
|
to align with new spec text (HTML5 revision 1320). |
61 |
|
|
62 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* HTML.pm.src: Remove strange |if| condition; however, it should |
65 |
|
have had no harm in theory. |
66 |
|
|
67 |
|
2008-03-08 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* HTML.pm.src (_tree_construction_main): '</p>' in body |
70 |
|
case is split from other end tags for the preparation |
71 |
|
of implementing HTML revision 1320. |
72 |
|
|
73 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
75 |
|
* HTML.pm.src: Simplified "generate implied end tag" (HTML5 |
76 |
|
revision 1320). |
77 |
|
|
78 |
|
2008-03-07 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* HTML.pm.src (_tree_construction_main): Merge rules for "h1" |
81 |
|
and "div" (HTML5 revision 1318). Add comments to where |
82 |
|
|form| pointer association codes should be inserted (HTML5 revision |
83 |
|
1319). |
84 |
|
|
85 |
|
2008-03-06 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* HTML.pm.src: <html> treatement refined (HTML5 revision 1314). |
88 |
|
|
89 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* HTML.pm.src: Since the case t268 should never be reached (no |
92 |
|
other token type, there are), it is replaced by a |die| statement. |
93 |
|
|
94 |
|
2008-03-05 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* HTML.pm.src: Typo fixed. |
97 |
|
|
98 |
|
2008-03-04 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* HTML.pm.src (_tree_construction_initial): Some limited quirks |
101 |
|
doctypes were not uppercased for comparison. |
102 |
|
|
103 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* HTML.pm.src (tree construction and set_inner_html): Checkpoints |
106 |
|
are added. |
107 |
|
|
108 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints |
111 |
|
are set. Cases that are unlikely reached are noted as so. |
112 |
|
|
113 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
114 |
|
|
115 |
|
* HTML.pm.src: Checkpoints for debugging are added. |
116 |
|
|
117 |
|
* mkhtmlparser.pl: Support for |!!!cp| syntax. |
118 |
|
|
119 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g |
122 |
|
for simplicity. |
123 |
|
|
124 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
126 |
|
* HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5 |
127 |
|
revision 1307). |
128 |
|
|
129 |
|
2008-03-03 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* HTML.pm.src (_get_next_token): Where the /incorrect/ flag |
132 |
|
is set are changed (HTML5 revision 1305). |
133 |
|
|
134 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision |
137 |
|
1292). Entities are not parsed in comment-like part in RCDATA |
138 |
|
elements (HTML5 revision 1294). Allow bare & at the end |
139 |
|
of attribute value literals (HTML5 revision 1296). More |
140 |
|
quirks mode doctypes (HTML5 revision 1302). Requires spaces |
141 |
|
between attributes and ban attribute names or unquoted |
142 |
|
attribute values containing single or double quotes (HTML5 |
143 |
|
revision 1303). |
144 |
|
|
145 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* ContentChecker.pm: Typo fixed. Don't raise "character encoding" |
148 |
|
and related errors unless it is an HTML document (though the spec |
149 |
|
is unclear on whether it is applied to XHTML document). |
150 |
|
|
151 |
|
* HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes |
152 |
|
are added. |
153 |
|
|
154 |
|
2008-03-02 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* HTML.pm.src: s/local_name/manakai_local_name/g. |
157 |
|
|
158 |
|
2008-03-01 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* _NamedEntityList.pm: Updated (HTML5 revision 1286). |
161 |
|
|
162 |
|
* HTML.pm.src: |charset| in |content| attribute is |
163 |
|
case-insensitive (HTML5 revision 1270). |
164 |
|
|
165 |
|
2008-02-26 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* ContentChecker.pm: New status constants are added. |
168 |
|
($ElementDefault): |status| added. |
169 |
|
(check_element): Err for non-standard or deprecated elements. |
170 |
|
(_attr_status_info): For non-standard or deprecated attributes. |
171 |
|
|
172 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
173 |
|
|
174 |
|
* ContentChecker.pm (_attr_status_info): New internal method. |
175 |
|
|
176 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* ContentChecker.pm (check_element): Element standardized |
179 |
|
status information is now dispatched. |
180 |
|
|
181 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* ContentChecker.pm (check_element): Fix |del|-and-significant |
184 |
|
problem by adding some more arguments. |
185 |
|
|
186 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
187 |
|
|
188 |
|
* ContentChecker.pm (check_element): Use context of |
189 |
|
container-for-the-purpose-of-content-model element (not transparent |
190 |
|
element) for |check_child_element| calling and significant |
191 |
|
text flag marking. This reintroduces |<del>|-and-significant |
192 |
|
problem again. |
193 |
|
|
194 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
195 |
|
|
196 |
|
* ContentChecker.pm (check_element): Make semi-transparent |
197 |
|
elements ignored for the purpose of phase changes in |
198 |
|
content model checking. |
199 |
|
|
200 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* ContentChecker.pm (check_element): In-element state |
203 |
|
was not properly managed for transparent cases. |
204 |
|
|
205 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
206 |
|
|
207 |
|
* ContentChecker.pm (check_element): Support for |video| |
208 |
|
and |audio| as semi-transparent elements. |
209 |
|
|
210 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* ContentChecker.pm ($HTMLSemiTransparentElements): New. |
213 |
|
(check_element): s/minuses/minus_elements/, s/pluses/plus_elements/. |
214 |
|
Support for |html:object| as a semi-transparent element. |
215 |
|
|
216 |
|
2008-02-23 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* ContentChecker.pm (check_element): The way to traverse |
219 |
|
the tree is entirely revised to make it easier to track |
220 |
|
the state of ancestors/descendants. As a result of this |
221 |
|
revision (which rewrites almost all of Whatpm::ContentChecker::HTML), |
222 |
|
support for content model checking for HTML elements |figure|, |
223 |
|
|object|, |video|, and |audio| and checking for XML elements (and |
224 |
|
some XMLNS checkings) are dropped for now. They will be |
225 |
|
reimplemented in due cource. |
226 |
|
|
227 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
|
* HTML.pm.src: |>| in public or system literal closes the DOCTYPE |
230 |
|
token (HTML5 revision 1225). |
231 |
|
|
232 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
233 |
|
|
234 |
|
* ContentChecker.pm ({unsupported_level}): New value. |
235 |
|
|
236 |
|
* HTML.pm.src: Save whether |meta| |content| attribute |
237 |
|
contains character references or not. |
238 |
|
|
239 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* ContentChecker.pm (_get_children): (Incompleted) attempt to |
242 |
|
imlement significant content checking for contents |
243 |
|
with |del| elements. |
244 |
|
|
245 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
246 |
|
|
247 |
|
* ContenteChecker.pm ($HTMLTransparentElements): More |
248 |
|
elements are added. |
249 |
|
(_get_children): HTML |object| elements are now semi-transparent. |
250 |
|
|
251 |
|
* NanoDOM.pm (manakai_html, manakai_head): New methods. |
252 |
|
|
253 |
|
2008-02-16 Wakaba <wakaba@suika.fam.cx> |
254 |
|
|
255 |
|
* CacheManifest.pm: HTML5 revision 1211 implemented. |
256 |
|
|
257 |
|
* CacheManifest.pod: Updated. |
258 |
|
|
259 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* ContentChecker.pm (check_document, check_element): Support |
262 |
|
for second argument ($onsubdoc). |
263 |
|
(_get_css_parser): Removed (now it is part of WDCC). |
264 |
|
|
265 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* ContentChecker.pm (_get_css_parser): New. |
268 |
|
|
269 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
270 |
|
|
271 |
|
* ContentChecker.pm ($AnyChecker): Old way to add child elements |
272 |
|
for checking had been used. |
273 |
|
|
274 |
|
2007-11-25 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
276 |
|
* ContentChecker.pm (check_element): New todo item type |descendant|. |
277 |
|
|
278 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* IMTChecker.pm: Revised to raise errors and warnings as (poorly) |
281 |
|
specced in RFC 2046 and RFC 4288. |
282 |
|
(application/atom+xml): Definition added. |
283 |
|
|
284 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* URIChecker.pm: Make RFC 3986 should-level errors |
287 |
|
warnings (rather than SHOULD-level errors). |
288 |
|
|
289 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
290 |
|
|
291 |
|
* NanoDOM.pm (get_user_data, set_user_data): New methods. |
292 |
|
|
293 |
|
* HTML.pm.src: A flag for character references in attribute |
294 |
|
values are added. Set |manakai_has_reference| user data |
295 |
|
to |charset| attribute. |
296 |
|
|
297 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New |
300 |
|
attributes. |
301 |
|
|
302 |
|
* ContentChecker.pm (check_document): Warn if charset requirements |
303 |
|
cannot be tested. |
304 |
|
|
305 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* HTML.pm.src (parse_byte_string): Detect charset |
308 |
|
by universalchardet if charset parameter is not specified. |
309 |
|
|
310 |
|
* Makefile (Charset-all, Charset-clean): New rules. |
311 |
|
|
312 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
313 |
|
|
314 |
|
* ContentChecker.pm (check_document): Check the existence |
315 |
|
of character encoding declaration and selection of encoding |
316 |
|
for HTML document. |
317 |
|
|
318 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
320 |
|
* ContentType.pm (get_sniffed_type): Return also the official |
321 |
|
type in list context. |
322 |
|
|
323 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* ContentType.pm: Sniffing with leading white space |
326 |
|
ignoring (HTML5 revisions 1013 and 1016). |
327 |
|
|
328 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* ContentType.pm: HTML5 revision 1013 changes, except for leading |
331 |
|
white spaces, are implemented. |
332 |
|
|
333 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* HTML.pm.src (parse_char_string): Set |inner_encoding| |
336 |
|
attribute if possible. |
337 |
|
|
338 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
339 |
|
|
340 |
|
* HTML.pm.src (parse_byte_string): New method. |
341 |
|
(parse_char_string): New alias for |parse_string|. |
342 |
|
(main phase): Invoking "change the encoding" algorithm if desired. |
343 |
|
|
344 |
|
* HTML.pod: Updated. |
345 |
|
|
346 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
347 |
|
|
348 |
|
* HTML.pod (get_inner_html): Removed. |
349 |
|
|
350 |
|
* Makefile (HTML-all, HTML-clean): New. |
351 |
|
|
352 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
353 |
|
|
354 |
|
* HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm). |
355 |
|
|
356 |
|
2007-11-08 Wakaba <wakaba@suika.fam.cx> |
357 |
|
|
358 |
|
* mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132). |
359 |
|
|
360 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
361 |
|
|
362 |
|
* Makefile: |CacheManifest.html| is added. |
363 |
|
|
364 |
|
* CacheManifest.pod: New file. |
365 |
|
|
366 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
367 |
|
|
368 |
|
* CacheManifest.pm: New module. |
369 |
|
|
370 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
371 |
|
|
372 |
|
* HTML.pm.src: Support for application cache selection algorithm |
373 |
|
callback. |
374 |
|
|
375 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
376 |
|
|
377 |
|
* mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118). |
378 |
|
|
379 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
380 |
|
|
381 |
|
* Makefile (clean): New rule. |
382 |
|
|
383 |
|
* NanoDOM.pm (public_id, system_id): New attributes. |
384 |
|
|
385 |
|
2007-10-17 Wakaba <wakaba@suika.fam.cx> |
386 |
|
|
387 |
|
* Makefile (CSS-all, CSS-clean, clean): New rules. |
388 |
|
|
389 |
|
2007-10-14 Wakaba <wakaba@suika.fam.cx> |
390 |
|
|
391 |
|
* ContentChecker.pm (check_document): Support for |
392 |
|
new |is_xml_root| flag. |
393 |
|
(check_element): Support for new |pluses| state. |
394 |
|
(_add_pluses): New method. |
395 |
|
(_remove_minuses): Support for new |minus| item. |
396 |
|
|
397 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
398 |
|
|
399 |
|
* ContentChecker.pm: Raise specific error for invalid |
400 |
|
root element. |
401 |
|
|
402 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* ContentChecker.pm: Set level values for later uses. |
405 |
|
|
406 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
407 |
|
|
408 |
|
* ContentChecker.pm: Support for language tag validation. |
409 |
|
|
410 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
411 |
|
|
412 |
|
* LangTag.pm (check_rfc3066_language_tag): New method. |
413 |
|
|
414 |
|
2007-09-09 Wakaba <wakaba@suika.fam.cx> |
415 |
|
|
416 |
|
* LangTag.pm: New module. |
417 |
|
|
418 |
|
2007-09-04 Wakaba <wakaba@suika.fam.cx> |
419 |
|
|
420 |
|
* HTML.pm.src: Some error types were wrong. |
421 |
|
|
422 |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
2007-08-17 Wakaba <wakaba@suika.fam.cx> |
423 |
|
|
424 |
* CSS/: New directory. |
* CSS/: New directory. |