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