1 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* ContentChecker.pm: Support for many of HTML5 elements. |
4 |
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
5 |
|
|
6 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* ContentChecker.pm: Support for most elements up to |progress|. |
9 |
|
($HTMLURIAttrChecker): Placeholder. |
10 |
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
11 |
|
New. |
12 |
|
|
13 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* ContentChecker.pm: Attribute checkers |
16 |
|
for global attributes, |html|, |base|, |style|, and |meta|. |
17 |
|
|
18 |
|
* NanoDOM.pm (insert_before): Weaken reference |
19 |
|
to the parent node. |
20 |
|
(Attr::new): Set |owner_element| attribute. |
21 |
|
(namespace_uri, manakai_local_name): New attribute implementations. |
22 |
|
(owner_element): New attribute. |
23 |
|
|
24 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
27 |
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
28 |
|
$Element->{$HTML_NS}->{''}): New. |
29 |
|
(check_element): Invoke attrs_checker for each element. |
30 |
|
|
31 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
34 |
|
|
35 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* ContentChecker.pm: Use hashs rather than lists for |
38 |
|
element type testings. |
39 |
|
|
40 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* ContentChecker.pm: Don't generate duplicate |
43 |
|
error when an element type is put in the "minus" list |
44 |
|
and the element type is not allowed explicitly in the particular |
45 |
|
element content model. |
46 |
|
(html:a checker): New checker. |
47 |
|
(html:details, html:datagrid): New checkers. |
48 |
|
(html:legend): New checker. |
49 |
|
|
50 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* ContentChecker.pm (html:li checker): Implemented. |
53 |
|
|
54 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
57 |
|
checker. |
58 |
|
(html:dd checker): New checker. |
59 |
|
(html:q, html:em, html:strong, html:small, |
60 |
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
61 |
|
|
62 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* ContentChecker.pm ($AnyChecker): Renamed |
65 |
|
from |$ElementDefault->{checker}|. |
66 |
|
($ElementDefault->{checker}): Throw an error that |
67 |
|
the element type is not supported by the checker. |
68 |
|
($HTMLMetadataElement): |html:base| was missing. |
69 |
|
($HTMLEmptyChecker): Don't throw an error |
70 |
|
for inter-element whitespace nodes. |
71 |
|
(html:html checker): Errors were not |
72 |
|
thrown even if |html:head| and/or |html:body| |
73 |
|
children were missing. |
74 |
|
(html:head checker): An error was not |
75 |
|
thrown if <meta charset> appered after other |
76 |
|
elements. |
77 |
|
|
78 |
|
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
81 |
|
and |noscript| elements are implemented. |
82 |
|
(new): New method. |
83 |
|
|
84 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* ContentChecker.pm: New module. |
87 |
|
|
88 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* NanoDOM.pm (manakai_parent_element, |
91 |
|
document_element, manakai_local_name, |
92 |
|
manakai_element_type_match): New method. |
93 |
|
|
94 |
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
97 |
|
entities in C1 range using Windows-1252 mapping. Bare LF |
98 |
|
did not count as new line for error reporting. |
99 |
|
|
100 |
|
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
102 |
|
* NanoDOM.pm (DOMImplementation): New class. |
103 |
|
(append_child): Weaken the |parent_node| reference. |
104 |
|
(create_element_ns, Element new): Set the |owner_document| |
105 |
|
reference. |
106 |
|
(implementation): New attribute. |
107 |
|
(owner_document, local_name, namespace_uri): New attributes. |
108 |
|
|
109 |
|
* HTML.pm.src (parse_string): Line and column numbers |
110 |
|
are now provided to error handler. |
111 |
|
(!!!parse-error): Short descriptions are added. |
112 |
|
(_construct_tree): Split into three methods; support |
113 |
|
for innerHTML mode. |
114 |
|
(set_inner_html): New method. |
115 |
|
|
116 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
* NanoDOM.html: Documentation is added. |
* NanoDOM.html: Documentation is added. |