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