1 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Added support for <script> element in the "in |
4 |
|
select" and "in select in table" insertion modes (HTML5 revision |
5 |
|
2500). |
6 |
|
|
7 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* HTML.pm.src: An <hn> start tag in an <hn> element should close |
10 |
|
the earlier element (HTML5 revision 2501). |
11 |
|
|
12 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* HTML.pm.src: The </br> end tags before the <body> start tag |
15 |
|
should equally survive as the first br element child of the body |
16 |
|
element (HTML5 revision 2586). |
17 |
|
|
18 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* HTML.pm.src: <font> in SVG land is handled as an SVG element as |
21 |
|
long as it did not have HTML attributes (HTML5 revision 2590). |
22 |
|
|
23 |
|
2009-08-16 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* HTML.pm.src (_tree_construction_main): Improved error reporting |
26 |
|
on "select" start tag in "in select" and "in select in table" |
27 |
|
parsing modes (c.f. HTML5 revision 3604). |
28 |
|
|
29 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* mkhtmlclass.pl: Made xmlns:xlink with wrong namespace URL |
32 |
|
invalid (HTML5 revision 2701). |
33 |
|
|
34 |
|
2009-07-26 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* HTML.pm.src: </rt>, </rp>, </option>, </optgroup> become |
37 |
|
optional before </body> (HTML5 revision 2806). |
38 |
|
|
39 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
|
* HTML.pm.src: Marked where SVG |script| execution should be |
42 |
|
implemented (HTML5 revision 2904). |
43 |
|
|
44 |
|
2009-07-25 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
|
* HTML.pm.src (set_inner_html): The fragment parsing algorithm |
47 |
|
inherits the document quirksness flag of the main document (HTML5 |
48 |
|
revision 2935). |
49 |
|
|
50 |
|
2009-07-05 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* HTML.pm.src (_tree_construction_main): Put |table| in |p| in |
53 |
|
quirks mode (The Hixie Quirk, HTML5 revision 3132). |
54 |
|
|
55 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* HTML.pm.src: <kegten> breaks out of <select> (HTML5 revision |
58 |
|
3163). |
59 |
|
|
60 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* HTML.pm.src: Don't change encoding to UTF-8 if the input |
63 |
|
encoding is UTF-16 (HTML5 revision 3204). |
64 |
|
|
65 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* HTML.pm.src (parse_byte_stream): Don't change to another |
68 |
|
encoding if the input is UTF-16 (HTML5 revision 3205). |
69 |
|
|
70 |
|
2009-06-28 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* HTML.pm.src: |isindex| should no longer generate |p| element |
73 |
|
node (HTML5 revision 3236). |
74 |
|
|
75 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* ContentChecker.pm: Introduced new flag |has_autofocus|. Added |
78 |
|
support for new |id_type| value of |any|, which means any kind of |
79 |
|
element is allowed as a referenced element. |
80 |
|
|
81 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* ContentChecker.pm: Introduced |check_attrs2| method for the ease |
84 |
|
of defining codes for checking required attribute and as such. |
85 |
|
|
86 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
87 |
|
|
88 |
|
* IMTChecker.pm: Added more definitions for subtypes. |
89 |
|
|
90 |
|
2008-12-11 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* URIChecker.pm: Some of |pos_end| values were wrong. |
93 |
|
|
94 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* ContentChecker.pm (check_element): Added support for "no |
97 |
|
referenced datalist" error. |
98 |
|
|
99 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* URIChecker.pm: Bug fix: It did not work unless |
102 |
|
Message::DOM::DOMImplementation has been |require|d. |
103 |
|
|
104 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* NanoDOM.pm (document_uri): New attribute. |
107 |
|
|
108 |
|
* ContentChecker.pm: Don't use methods not implemented by NanoDOM. |
109 |
|
|
110 |
|
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* NanoDOM.pm (text_content): Don't create a Text node if the new |
113 |
|
value is empty. |
114 |
|
|
115 |
|
2008-11-06 Wakaba <wakaba@suika.fam.cx> |
116 |
|
|
117 |
|
* SWML/: New directory. |
118 |
|
|
119 |
|
2008-10-20 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* NanoDOM.pm (specified, all_declarations_processed, |
122 |
|
manakai_attribute_type): New attributes. |
123 |
|
|
124 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
126 |
|
* NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty |
127 |
|
array. |
128 |
|
|
129 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* NanoDOM.pm (notation_name): New attribute. |
132 |
|
|
133 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* NanoDOM.pm (public_id, system_id): New attributes.a |
136 |
|
|
137 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* NanoDOM.pm (text_content): Moved to Node from Element. Setter |
140 |
|
implemented. |
141 |
|
(allowed_tokens, default_type, declared_type): Implemented. |
142 |
|
|
143 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* NanoDOM.pm (node_name): New attribute. |
146 |
|
(ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New |
147 |
|
constants. |
148 |
|
(create_element_type_definition_node, create_attribute_definition, |
149 |
|
create_notation, create_general_entity, |
150 |
|
get_element_type_definition_node, |
151 |
|
set_element_type_definition_node, get_general_entity_node, |
152 |
|
set_general_entity_node, get_notation_node, set_notation_node, |
153 |
|
get_attribute_definition_node, set_attribute_definition_node): New |
154 |
|
methods. |
155 |
|
(element_types, entities, notations, attribute_definitions): New |
156 |
|
attributes. |
157 |
|
(DocumentType): Support for child nodes, entities, notations, and |
158 |
|
element types. |
159 |
|
(Entity, Notation, ElementTypeDefinition, AttributeDefinition): |
160 |
|
New classes. |
161 |
|
|
162 |
|
* Dumper.pm: Support for general entities, notations, element type |
163 |
|
definitions, and attribute definitions. |
164 |
|
|
165 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* NanoDOM.pm (create_processing_instruction): New method. |
168 |
|
(xml_version, xml_encoding, xml_standalone): New attributes. |
169 |
|
(ProcessingInstruction): New class. |
170 |
|
|
171 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* HTML.pm.src: Handling of end tags in the foreign content |
174 |
|
insertion mode was partially wrong, because of wrong bit |
175 |
|
operations. |
176 |
|
|
177 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
179 |
|
* NanoDOM.pm (dom_config): New attribute (do nothing), for |
180 |
|
Whatpm::XML::Parser support. |
181 |
|
|
182 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* Makefile: New rule to make HTML/Tokenizer.pm is added. |
185 |
|
|
186 |
|
* HTML.pm.src: Tokenizer part moved to another file. |
187 |
|
|
188 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|. |
191 |
|
|
192 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
193 |
|
|
194 |
|
* HTML.pm.src: Element category constants redefined. |
195 |
|
|
196 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
197 |
|
|
198 |
|
* HTML.pm.src: Steps for CDATA/RCDATA elements in tree |
199 |
|
construction stage synced with the spec (HTML5 revisions 2139 and |
200 |
|
2302). |
201 |
|
|
202 |
|
2008-10-07 Wakaba <wakaba@suika.fam.cx> |
203 |
|
|
204 |
|
* ContentChecker.pm: New error level "html5_fact" added, which |
205 |
|
should be tentatively used until all of requirements are properly |
206 |
|
specced as RFC 2119 "MUST" in HTML5. |
207 |
|
|
208 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* ContentChecker.pod: Note on internal flags is added. |
211 |
|
|
212 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
213 |
|
|
214 |
|
* HTML.pm.src: An AAA bug fixed. |
215 |
|
|
216 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* HTML.pm.src: If another node is inserted by the parser, don't |
219 |
|
reuse existing Text node to append a character (HTML5 revision |
220 |
|
2124). |
221 |
|
|
222 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
224 |
|
* HTML.pm.src: Support for <option> and <optgroup> in body (HTML5 |
225 |
|
revisions 1731 and 2128). |
226 |
|
|
227 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
|
* HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837). |
230 |
|
Support for end tags of camelCase SVG elements were broken. A |
231 |
|
wrong error type text fixed. |
232 |
|
|
233 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
235 |
|
* HTML.pm.src: Drop redundant code (HTML5 revision 1731). |
236 |
|
|
237 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
238 |
|
|
239 |
|
* HTML.pm.src: Support for new definition of |param| and |source| |
240 |
|
start tag parsing (HTML5 revision 1731). |
241 |
|
|
242 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
244 |
|
* HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731). |
245 |
|
|
246 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5 |
249 |
|
revisions 1731 and 1831). |
250 |
|
|
251 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
252 |
|
|
253 |
|
* HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5 |
254 |
|
revisions 1731 and 1778). Support for the </sarcasm> end tag (HTML5 |
255 |
|
revision 1731). |
256 |
|
|
257 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* HTML.pm.src: Support for |command| and |eventsource| elements (HTML5 |
260 |
|
revision 1731). End tags of |option| and |optgroup| elements are |
261 |
|
now optional (HTML5 revision 1731). |
262 |
|
|
263 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
264 |
|
|
265 |
|
* HTML.pm.src: New "special" elements added to the list (HTML5 |
266 |
|
revision 1778). "strile" -> "strike". |
267 |
|
|
268 |
|
2008-10-02 Wakaba <wakaba@suika.fam.cx> |
269 |
|
|
270 |
|
* ContentType.pm (get_sniffed_type): Support for the "better" |
271 |
|
content sniffing (HTML5 revision 1927). In a case the official |
272 |
|
type was not returned when the method is invoked in the list |
273 |
|
context. |
274 |
|
|
275 |
|
2008-09-22 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* HTML.pm.src: Character references for non-space C0 characters, |
278 |
|
including U+000B VT, DEL character, noncharacter code points, are |
279 |
|
now converted to the U+FFFD character (cf. HTML5 revision 2138). |
280 |
|
|
281 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
282 |
|
|
283 |
|
* ContentChecker.pm: |form=""| check support added. |
284 |
|
|
285 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
286 |
|
|
287 |
|
* ContentChecker.pm: |contextmenu| validness is now checked using |
288 |
|
|id| and |id_type| properties, and |menu| property is removed. |
289 |
|
|
290 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
291 |
|
|
292 |
|
* ContentChecker.pm: Prepare for |form| |name| attribute's |
293 |
|
duplication checking. |
294 |
|
|
295 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
296 |
|
|
297 |
|
* HTML.pm.src (parse_byte_stream): Support (or non-support) for |
298 |
|
unsupported charset="" parameter value (HTML5 revision 2131). |
299 |
|
|
300 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
301 |
|
|
302 |
|
* HTML.pm.src: Reminding places where U+000B is allowed as a space |
303 |
|
character is fixed (cf. HTML5 revision 1738). |
304 |
|
|
305 |
|
* ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of |
306 |
|
space characters (HTML5 revision 1738). |
307 |
|
|
308 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
310 |
|
* HTML.pm.src: The "anything else" case for the "after after body" |
311 |
|
insertion mode was not updated to swtich to the "in body" |
312 |
|
insertion mode. U+000B is no longer a space character for the |
313 |
|
purpose of tree construction phase (HTML5 revision 1738). |
314 |
|
|
315 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
316 |
|
|
317 |
|
* HTML.pm.src: U+000B is no longer a space character (HTML5 |
318 |
|
revision 1738). |
319 |
|
|
320 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* ContentType.pm: 0x0B is no longer a space character (HTML5 |
323 |
|
revision 1738). |
324 |
|
|
325 |
|
* HTML.pm.src: U+000B is no longer a space character for the |
326 |
|
algorithm for extracting an encoding from a Content-Type (HTML5 |
327 |
|
revision 1738). |
328 |
|
|
329 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
331 |
|
* ContentChecker.pm ($IsInHTMLInteractiveContent): New. |
332 |
|
|
333 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* LangTag.pm: Add checks for remaining requirements from RFC 4646. |
336 |
|
|
337 |
|
* mklangreg.pl: Sort 'Prefix' values by their length, to ease |
338 |
|
matching. |
339 |
|
|
340 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
341 |
|
|
342 |
|
* LangTag.pm: Warn for private use language subtags. Error level |
343 |
|
typos fixed. Support for Suppress-Script field. |
344 |
|
|
345 |
|
* mklangreg.pl: Support for dumping of nested structure. |
346 |
|
|
347 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
348 |
|
|
349 |
|
* LangTag.pm (check_rfc4646_langtag): Check if a tag is in the |
350 |
|
recommended case as per RFC 4646. |
351 |
|
|
352 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
353 |
|
|
354 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
355 |
|
|
356 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
357 |
|
|
358 |
|
* mklangreg.pl: New script. |
359 |
|
|
360 |
|
* Makefile: Updated for creation of the module for language subtag |
361 |
|
registry. |
362 |
|
|
363 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
364 |
|
|
365 |
|
* Makefile: WebIDL.html added. |
366 |
|
|
367 |
|
* WebIDL.pod: New documentation. |
368 |
|
|
369 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
370 |
|
|
371 |
|
* WebIDL.pm: Checker's error types are redefined. |
372 |
|
|
373 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
374 |
|
|
375 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
376 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
377 |
|
commented out. |
378 |
|
|
379 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
380 |
|
|
381 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
382 |
|
added. It does not satisfy the definition that a forward |
383 |
|
interface declaration has an extended attribute. It seems that |
384 |
|
unless explicitly allowed multiple extended attributes with the |
385 |
|
same name is not allowed, though it is not explicitly mentioned in |
386 |
|
the spec. |
387 |
|
|
388 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
389 |
|
|
390 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
391 |
|
attribute identifiers. Preserve whether an extended attribute has |
392 |
|
an argument list of not. Support for extended attributes: |
393 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
394 |
|
NameGetter, NameSetter, and Null. |
395 |
|
(has_argument_list): New attribute. |
396 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
397 |
|
empty. |
398 |
|
|
399 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
400 |
|
|
401 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
402 |
|
|{s_kwd}| in DATA_STATE as default. |
403 |
|
|
404 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
405 |
|
|
406 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
407 |
|
by |{s_kwd}| in DATA_STATE. |
408 |
|
|
409 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
410 |
|
|
411 |
|
* HTML.pm.src: Shorten keys. |
412 |
|
|
413 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
414 |
|
|
415 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
416 |
|
pair, or noncharacter code points and non-Unicode code |
417 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
418 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
419 |
|
character stream error handlers. |
420 |
|
|
421 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
422 |
|
|
423 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
424 |
|
for null-namespace elements/attributes. |
425 |
|
|
426 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
427 |
|
as a hash. |
428 |
|
|
429 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
430 |
|
|
431 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
432 |
|
and |{next_char}| initializations are moved to initialization |
433 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
434 |
|
with |parse_char_stream|. |
435 |
|
|
436 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
437 |
|
|
438 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
439 |
|
invoke |manakai_read_until|, not only |read|, where |
440 |
|
possible, to decrease the number of |read| method calls. |
441 |
|
|
442 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
443 |
|
modification. |
444 |
|
|
445 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
446 |
|
|
447 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
448 |
|
would report character error from now. |
449 |
|
|
450 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
451 |
|
|
452 |
* HTML.pm.src: White-space-leaded non-white-space character |
* HTML.pm.src: White-space-leaded non-white-space character |