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