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