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