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