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