1 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: The first cut to implement the |frameset-ok| flag |
4 |
|
concept (HTML5 revision 2703). |
5 |
|
|
6 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: |<hr/>| was incorrectly marked as an error. |
9 |
|
|
10 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* HTML.pm.src: Changed the handling of </html> end tag of "in |
13 |
|
body" insertion mode according to the latest spec definition. |
14 |
|
|
15 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: Rewrote end tag handling in |head| area (cf. HTML5 |
18 |
|
revision 2730, but it was entirely broken, maybe I missed some |
19 |
|
spec changes before rev.2730). |
20 |
|
|
21 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTML.pm.src: Added the |hgroup| element (HTML5 revision 3039 and |
24 |
|
HTML5 revision 3040). |
25 |
|
|
26 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* HTML.pm.src: Added |xmp| to the list of Special elements (HTML5 |
29 |
|
revision 3689). It should make no difference since the |xmp| |
30 |
|
element has the PCDATA content and cannot be the non-bottommost |
31 |
|
element in the stack of open elements. |
32 |
|
|
33 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* HTML.pm.src: Set the |confidence| flag to |irrlevant| when the |
36 |
|
fragment parsing algorithm is invoked (HTML5 revision 2699). |
37 |
|
|
38 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* HTML.pm.src: Simplified foster parenting (HTML5 revision 2732). |
41 |
|
|
42 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* HTML.pm.src: No longer does foster parenting |style|, |script|, |
45 |
|
and |input type=hidden| elements (HTML5 revision 2988). |
46 |
|
|
47 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: Dropped the |eventsource| element (HTML5 revision |
50 |
|
2870). |
51 |
|
|
52 |
|
2009-09-06 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
54 |
|
* HTML.pm.src (_tree_construction_main): Treate |keygen| as a void |
55 |
|
element (HTML5 revision 2960). |
56 |
|
|
57 |
|
2009-09-05 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* HTML.pm.src: Moved the "in table text" insertion mode code up |
60 |
|
such that it does also work as specced in HTML5 in the remaining |
61 |
|
cases (HTML5 revision 3382). |
62 |
|
|
63 |
|
2009-09-05 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* HTML.pm.src: Implementing the "in table text" insertion mode, |
66 |
|
first half (HTML5 revision 3382). |
67 |
|
|
68 |
|
2009-08-30 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* ContentChecker.pm: Allow |xml:lang| in HTML document if the |
71 |
|
owner element is not an HTML element (HTML5 revision 3697). |
72 |
|
|
73 |
|
2009-08-23 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
75 |
|
* ContentChecker.pm: Allow <input type=hidden> in context where |
76 |
|
interactive content is disallowed (HTML5 revision 2392). |
77 |
|
|
78 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* HTML.pm.src: Dropped support for "XSLT-compat" and added |
81 |
|
"about:legacy-compat" (HTML5 revision 2725). |
82 |
|
|
83 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* HTML.pm.src: "<!DOCTYPE>" is now explicitly supported in the |
86 |
|
spec (HTML5 revision 2700). |
87 |
|
|
88 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* HTML.pm.src: Added support for <script> element in the "in |
91 |
|
select" and "in select in table" insertion modes (HTML5 revision |
92 |
|
2500). |
93 |
|
|
94 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* HTML.pm.src: An <hn> start tag in an <hn> element should close |
97 |
|
the earlier element (HTML5 revision 2501). |
98 |
|
|
99 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* HTML.pm.src: The </br> end tags before the <body> start tag |
102 |
|
should equally survive as the first br element child of the body |
103 |
|
element (HTML5 revision 2586). |
104 |
|
|
105 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* HTML.pm.src: <font> in SVG land is handled as an SVG element as |
108 |
|
long as it did not have HTML attributes (HTML5 revision 2590). |
109 |
|
|
110 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* HTML.pm.src (_tree_construction_main): Improved error reporting |
113 |
|
on "select" start tag in "in select" and "in select in table" |
114 |
|
parsing modes (c.f. HTML5 revision 3604). |
115 |
|
|
116 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* mkhtmlclass.pl: Made xmlns:xlink with wrong namespace URL |
119 |
|
invalid (HTML5 revision 2701). |
120 |
|
|
121 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* HTML.pm.src: </rt>, </rp>, </option>, </optgroup> become |
124 |
|
optional before </body> (HTML5 revision 2806). |
125 |
|
|
126 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* HTML.pm.src: Marked where SVG |script| execution should be |
129 |
|
implemented (HTML5 revision 2904). |
130 |
|
|
131 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* HTML.pm.src (set_inner_html): The fragment parsing algorithm |
134 |
|
inherits the document quirksness flag of the main document (HTML5 |
135 |
|
revision 2935). |
136 |
|
|
137 |
|
2009-07-05 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* HTML.pm.src (_tree_construction_main): Put |table| in |p| in |
140 |
|
quirks mode (The Hixie Quirk, HTML5 revision 3132). |
141 |
|
|
142 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* HTML.pm.src: <kegten> breaks out of <select> (HTML5 revision |
145 |
|
3163). |
146 |
|
|
147 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src: Don't change encoding to UTF-8 if the input |
150 |
|
encoding is UTF-16 (HTML5 revision 3204). |
151 |
|
|
152 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* HTML.pm.src (parse_byte_stream): Don't change to another |
155 |
|
encoding if the input is UTF-16 (HTML5 revision 3205). |
156 |
|
|
157 |
|
2009-06-28 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* HTML.pm.src: |isindex| should no longer generate |p| element |
160 |
|
node (HTML5 revision 3236). |
161 |
|
|
162 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* ContentChecker.pm: Introduced new flag |has_autofocus|. Added |
165 |
|
support for new |id_type| value of |any|, which means any kind of |
166 |
|
element is allowed as a referenced element. |
167 |
|
|
168 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
169 |
|
|
170 |
|
* ContentChecker.pm: Introduced |check_attrs2| method for the ease |
171 |
|
of defining codes for checking required attribute and as such. |
172 |
|
|
173 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* IMTChecker.pm: Added more definitions for subtypes. |
176 |
|
|
177 |
|
2008-12-11 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
179 |
|
* URIChecker.pm: Some of |pos_end| values were wrong. |
180 |
|
|
181 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* ContentChecker.pm (check_element): Added support for "no |
184 |
|
referenced datalist" error. |
185 |
|
|
186 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
187 |
|
|
188 |
|
* URIChecker.pm: Bug fix: It did not work unless |
189 |
|
Message::DOM::DOMImplementation has been |require|d. |
190 |
|
|
191 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* NanoDOM.pm (document_uri): New attribute. |
194 |
|
|
195 |
|
* ContentChecker.pm: Don't use methods not implemented by NanoDOM. |
196 |
|
|
197 |
|
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* NanoDOM.pm (text_content): Don't create a Text node if the new |
200 |
|
value is empty. |
201 |
|
|
202 |
|
2008-11-06 Wakaba <wakaba@suika.fam.cx> |
203 |
|
|
204 |
|
* SWML/: New directory. |
205 |
|
|
206 |
|
2008-10-20 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
208 |
|
* NanoDOM.pm (specified, all_declarations_processed, |
209 |
|
manakai_attribute_type): New attributes. |
210 |
|
|
211 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty |
214 |
|
array. |
215 |
|
|
216 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* NanoDOM.pm (notation_name): New attribute. |
219 |
|
|
220 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* NanoDOM.pm (public_id, system_id): New attributes.a |
223 |
|
|
224 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* NanoDOM.pm (text_content): Moved to Node from Element. Setter |
227 |
|
implemented. |
228 |
|
(allowed_tokens, default_type, declared_type): Implemented. |
229 |
|
|
230 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
232 |
|
* NanoDOM.pm (node_name): New attribute. |
233 |
|
(ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New |
234 |
|
constants. |
235 |
|
(create_element_type_definition_node, create_attribute_definition, |
236 |
|
create_notation, create_general_entity, |
237 |
|
get_element_type_definition_node, |
238 |
|
set_element_type_definition_node, get_general_entity_node, |
239 |
|
set_general_entity_node, get_notation_node, set_notation_node, |
240 |
|
get_attribute_definition_node, set_attribute_definition_node): New |
241 |
|
methods. |
242 |
|
(element_types, entities, notations, attribute_definitions): New |
243 |
|
attributes. |
244 |
|
(DocumentType): Support for child nodes, entities, notations, and |
245 |
|
element types. |
246 |
|
(Entity, Notation, ElementTypeDefinition, AttributeDefinition): |
247 |
|
New classes. |
248 |
|
|
249 |
|
* Dumper.pm: Support for general entities, notations, element type |
250 |
|
definitions, and attribute definitions. |
251 |
|
|
252 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* NanoDOM.pm (create_processing_instruction): New method. |
255 |
|
(xml_version, xml_encoding, xml_standalone): New attributes. |
256 |
|
(ProcessingInstruction): New class. |
257 |
|
|
258 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
259 |
|
|
260 |
|
* HTML.pm.src: Handling of end tags in the foreign content |
261 |
|
insertion mode was partially wrong, because of wrong bit |
262 |
|
operations. |
263 |
|
|
264 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
265 |
|
|
266 |
|
* NanoDOM.pm (dom_config): New attribute (do nothing), for |
267 |
|
Whatpm::XML::Parser support. |
268 |
|
|
269 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
270 |
|
|
271 |
|
* Makefile: New rule to make HTML/Tokenizer.pm is added. |
272 |
|
|
273 |
|
* HTML.pm.src: Tokenizer part moved to another file. |
274 |
|
|
275 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|. |
278 |
|
|
279 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* HTML.pm.src: Element category constants redefined. |
282 |
|
|
283 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* HTML.pm.src: Steps for CDATA/RCDATA elements in tree |
286 |
|
construction stage synced with the spec (HTML5 revisions 2139 and |
287 |
|
2302). |
288 |
|
|
289 |
|
2008-10-07 Wakaba <wakaba@suika.fam.cx> |
290 |
|
|
291 |
|
* ContentChecker.pm: New error level "html5_fact" added, which |
292 |
|
should be tentatively used until all of requirements are properly |
293 |
|
specced as RFC 2119 "MUST" in HTML5. |
294 |
|
|
295 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* ContentChecker.pod: Note on internal flags is added. |
298 |
|
|
299 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
300 |
|
|
301 |
|
* HTML.pm.src: An AAA bug fixed. |
302 |
|
|
303 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
304 |
|
|
305 |
|
* HTML.pm.src: If another node is inserted by the parser, don't |
306 |
|
reuse existing Text node to append a character (HTML5 revision |
307 |
|
2124). |
308 |
|
|
309 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
310 |
|
|
311 |
|
* HTML.pm.src: Support for <option> and <optgroup> in body (HTML5 |
312 |
|
revisions 1731 and 2128). |
313 |
|
|
314 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
315 |
|
|
316 |
|
* HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837). |
317 |
|
Support for end tags of camelCase SVG elements were broken. A |
318 |
|
wrong error type text fixed. |
319 |
|
|
320 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* HTML.pm.src: Drop redundant code (HTML5 revision 1731). |
323 |
|
|
324 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
326 |
|
* HTML.pm.src: Support for new definition of |param| and |source| |
327 |
|
start tag parsing (HTML5 revision 1731). |
328 |
|
|
329 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
331 |
|
* HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731). |
332 |
|
|
333 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5 |
336 |
|
revisions 1731 and 1831). |
337 |
|
|
338 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
339 |
|
|
340 |
|
* HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5 |
341 |
|
revisions 1731 and 1778). Support for the </sarcasm> end tag (HTML5 |
342 |
|
revision 1731). |
343 |
|
|
344 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
345 |
|
|
346 |
|
* HTML.pm.src: Support for |command| and |eventsource| elements (HTML5 |
347 |
|
revision 1731). End tags of |option| and |optgroup| elements are |
348 |
|
now optional (HTML5 revision 1731). |
349 |
|
|
350 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
351 |
|
|
352 |
|
* HTML.pm.src: New "special" elements added to the list (HTML5 |
353 |
|
revision 1778). "strile" -> "strike". |
354 |
|
|
355 |
|
2008-10-02 Wakaba <wakaba@suika.fam.cx> |
356 |
|
|
357 |
|
* ContentType.pm (get_sniffed_type): Support for the "better" |
358 |
|
content sniffing (HTML5 revision 1927). In a case the official |
359 |
|
type was not returned when the method is invoked in the list |
360 |
|
context. |
361 |
|
|
362 |
|
2008-09-22 Wakaba <wakaba@suika.fam.cx> |
363 |
|
|
364 |
|
* HTML.pm.src: Character references for non-space C0 characters, |
365 |
|
including U+000B VT, DEL character, noncharacter code points, are |
366 |
|
now converted to the U+FFFD character (cf. HTML5 revision 2138). |
367 |
|
|
368 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
369 |
|
|
370 |
|
* ContentChecker.pm: |form=""| check support added. |
371 |
|
|
372 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
373 |
|
|
374 |
|
* ContentChecker.pm: |contextmenu| validness is now checked using |
375 |
|
|id| and |id_type| properties, and |menu| property is removed. |
376 |
|
|
377 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
378 |
|
|
379 |
|
* ContentChecker.pm: Prepare for |form| |name| attribute's |
380 |
|
duplication checking. |
381 |
|
|
382 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
383 |
|
|
384 |
|
* HTML.pm.src (parse_byte_stream): Support (or non-support) for |
385 |
|
unsupported charset="" parameter value (HTML5 revision 2131). |
386 |
|
|
387 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
388 |
|
|
389 |
|
* HTML.pm.src: Reminding places where U+000B is allowed as a space |
390 |
|
character is fixed (cf. HTML5 revision 1738). |
391 |
|
|
392 |
|
* ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of |
393 |
|
space characters (HTML5 revision 1738). |
394 |
|
|
395 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
396 |
|
|
397 |
|
* HTML.pm.src: The "anything else" case for the "after after body" |
398 |
|
insertion mode was not updated to swtich to the "in body" |
399 |
|
insertion mode. U+000B is no longer a space character for the |
400 |
|
purpose of tree construction phase (HTML5 revision 1738). |
401 |
|
|
402 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
403 |
|
|
404 |
|
* HTML.pm.src: U+000B is no longer a space character (HTML5 |
405 |
|
revision 1738). |
406 |
|
|
407 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
408 |
|
|
409 |
|
* ContentType.pm: 0x0B is no longer a space character (HTML5 |
410 |
|
revision 1738). |
411 |
|
|
412 |
|
* HTML.pm.src: U+000B is no longer a space character for the |
413 |
|
algorithm for extracting an encoding from a Content-Type (HTML5 |
414 |
|
revision 1738). |
415 |
|
|
416 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
418 |
|
* ContentChecker.pm ($IsInHTMLInteractiveContent): New. |
419 |
|
|
420 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
421 |
|
|
422 |
|
* LangTag.pm: Add checks for remaining requirements from RFC 4646. |
423 |
|
|
424 |
|
* mklangreg.pl: Sort 'Prefix' values by their length, to ease |
425 |
|
matching. |
426 |
|
|
427 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
428 |
|
|
429 |
|
* LangTag.pm: Warn for private use language subtags. Error level |
430 |
|
typos fixed. Support for Suppress-Script field. |
431 |
|
|
432 |
|
* mklangreg.pl: Support for dumping of nested structure. |
433 |
|
|
434 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
435 |
|
|
436 |
|
* LangTag.pm (check_rfc4646_langtag): Check if a tag is in the |
437 |
|
recommended case as per RFC 4646. |
438 |
|
|
439 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
440 |
|
|
441 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
442 |
|
|
443 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
444 |
|
|
445 |
|
* mklangreg.pl: New script. |
446 |
|
|
447 |
|
* Makefile: Updated for creation of the module for language subtag |
448 |
|
registry. |
449 |
|
|
450 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
451 |
|
|
452 |
|
* Makefile: WebIDL.html added. |
453 |
|
|
454 |
|
* WebIDL.pod: New documentation. |
455 |
|
|
456 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
457 |
|
|
458 |
|
* WebIDL.pm: Checker's error types are redefined. |
459 |
|
|
460 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
461 |
|
|
462 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
463 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
464 |
|
commented out. |
465 |
|
|
466 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
467 |
|
|
468 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
469 |
|
added. It does not satisfy the definition that a forward |
470 |
|
interface declaration has an extended attribute. It seems that |
471 |
|
unless explicitly allowed multiple extended attributes with the |
472 |
|
same name is not allowed, though it is not explicitly mentioned in |
473 |
|
the spec. |
474 |
|
|
475 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
476 |
|
|
477 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
478 |
|
attribute identifiers. Preserve whether an extended attribute has |
479 |
|
an argument list of not. Support for extended attributes: |
480 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
481 |
|
NameGetter, NameSetter, and Null. |
482 |
|
(has_argument_list): New attribute. |
483 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
484 |
|
empty. |
485 |
|
|
486 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
487 |
|
|
488 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
489 |
|
|{s_kwd}| in DATA_STATE as default. |
490 |
|
|
491 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
492 |
|
|
493 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
494 |
|
by |{s_kwd}| in DATA_STATE. |
495 |
|
|
496 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
497 |
|
|
498 |
|
* HTML.pm.src: Shorten keys. |
499 |
|
|
500 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
501 |
|
|
502 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
503 |
|
pair, or noncharacter code points and non-Unicode code |
504 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
505 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
506 |
|
character stream error handlers. |
507 |
|
|
508 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
509 |
|
|
510 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
511 |
|
for null-namespace elements/attributes. |
512 |
|
|
513 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
514 |
|
as a hash. |
515 |
|
|
516 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
517 |
|
|
518 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
519 |
|
and |{next_char}| initializations are moved to initialization |
520 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
521 |
|
with |parse_char_stream|. |
522 |
|
|
523 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
524 |
|
|
525 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
526 |
|
invoke |manakai_read_until|, not only |read|, where |
527 |
|
possible, to decrease the number of |read| method calls. |
528 |
|
|
529 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
530 |
|
modification. |
531 |
|
|
532 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
533 |
|
|
534 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
535 |
|
would report character error from now. |
536 |
|
|
537 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
538 |
|
|
539 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
540 |
|
tokens in "before head insertion mode" was not |
541 |
|
correctly handled. |
542 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
543 |
|
class. Support for $get_wrapper argument. Support |
544 |
|
for |{read_until}| feature. |
545 |
|
|
546 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
547 |
|
|
548 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
549 |
|
entities point the "&" character. |
550 |
|
|
551 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
552 |
|
|
553 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
554 |
|
be added to the list of excluded characters. |
555 |
|
|
556 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
557 |
|
|
558 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
559 |
|
and |column| a higher priority than the one set by the |
560 |
|
tokenizer's input handler. |
561 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
562 |
|
not be necessary, since now we do line/column fixup in |
563 |
|
the character decode handle). |
564 |
|
|
565 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
566 |
|
|
567 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
568 |
|
|
569 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
570 |
|
|
571 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
572 |
|
and |manakai_getc_until| to |manakai_read_until| to |
573 |
|
reduce the number of string copies. |
574 |
|
|
575 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
576 |
|
|
577 |
|
* HTML.pm.src (parse_char_string): Use newly created |
578 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
579 |
|
standard feature to |open| a string as a filehandle, |
580 |
|
since Perl's string filehandle seems not supporting |ungetc| |
581 |
|
method correctly. |
582 |
|
(parse_char_stream): Define |{getc_until}| method. |
583 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
584 |
|
|
585 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
586 |
|
|
587 |
|
* HTML.pm.src: Check points added to newly added branches. |
588 |
|
|
589 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
590 |
|
|
591 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
592 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
593 |
|
and replaced by |{prev_state}|. |
594 |
|
|
595 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
596 |
|
Remove |!!!back-next-input-character;| macro. |
597 |
|
|
598 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
599 |
|
|
600 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
601 |
|
entity related tokenizer states in favor of new states |
602 |
|
implementing the consume character reference algorithm. |
603 |
|
|
604 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
605 |
|
|
606 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
607 |
|
now implemented as a tokenizer's state, rather than |
608 |
|
a method, with minimum changes (more changes will |
609 |
|
be made, in due course). "Bogus comment state"'s inner |
610 |
|
loop gets removed. |
611 |
|
|
612 |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
613 |
|
|
614 |
* HTML.pm: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
615 |
into their own tokenizer states. |
into their own tokenizer states. |
616 |
|
|
617 |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |