1 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* URIChecker.pm: New module. |
4 |
|
|
5 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* ContentChecker.pm: Now most attributes are implemented |
8 |
|
or associated to some placeholder. |
9 |
|
($ElementDefault): Warn unknown attributes |
10 |
|
for unknown elements as "attribute not supported". |
11 |
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
12 |
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
13 |
|
(|a| attribute checker): Reimplemented. |
14 |
|
|
15 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
18 |
|
($HTMLAttrChecker): Event handler content attributes |
19 |
|
are added. |
20 |
|
(link, embed): Required attribute is now checked. |
21 |
|
(embed): Unknown local attributes are no longer warned. |
22 |
|
|
23 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
26 |
|
($HTMLIMTAttrChecker): New checker. |
27 |
|
(link@rel, link@href, link@type, style@type, |
28 |
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
29 |
|
object@data, object@type, source@src, source@type, area@alt, |
30 |
|
area@shape, area@coords, area@href, |
31 |
|
area@ping, area@rel, area@type, script@src, |
32 |
|
script@defer, script@async, script@type): Checkers added. |
33 |
|
|
34 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* ContentChecker.pm: Descendant checking was incorrect. |
37 |
|
|
38 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
41 |
|
attributes. Report an error if |Element.prefix| |
42 |
|
is |xmlns|. |
43 |
|
|
44 |
|
* NanoDOM.pm (prefix): New attribute. |
45 |
|
|
46 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* HTML.pm.src: In |main| phase, |in body| insertion |
49 |
|
mode, action for |<iframe>| was missing. |
50 |
|
|
51 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* ContentChecker.pm: Support for many of HTML5 elements. |
54 |
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
55 |
|
|
56 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* ContentChecker.pm: Support for most elements up to |progress|. |
59 |
|
($HTMLURIAttrChecker): Placeholder. |
60 |
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
61 |
|
New. |
62 |
|
|
63 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* ContentChecker.pm: Attribute checkers |
66 |
|
for global attributes, |html|, |base|, |style|, and |meta|. |
67 |
|
|
68 |
|
* NanoDOM.pm (insert_before): Weaken reference |
69 |
|
to the parent node. |
70 |
|
(Attr::new): Set |owner_element| attribute. |
71 |
|
(namespace_uri, manakai_local_name): New attribute implementations. |
72 |
|
(owner_element): New attribute. |
73 |
|
|
74 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
77 |
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
78 |
|
$Element->{$HTML_NS}->{''}): New. |
79 |
|
(check_element): Invoke attrs_checker for each element. |
80 |
|
|
81 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
84 |
|
|
85 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* ContentChecker.pm: Use hashs rather than lists for |
88 |
|
element type testings. |
89 |
|
|
90 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* ContentChecker.pm: Don't generate duplicate |
93 |
|
error when an element type is put in the "minus" list |
94 |
|
and the element type is not allowed explicitly in the particular |
95 |
|
element content model. |
96 |
|
(html:a checker): New checker. |
97 |
|
(html:details, html:datagrid): New checkers. |
98 |
|
(html:legend): New checker. |
99 |
|
|
100 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
102 |
|
* ContentChecker.pm (html:li checker): Implemented. |
103 |
|
|
104 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
107 |
|
checker. |
108 |
|
(html:dd checker): New checker. |
109 |
|
(html:q, html:em, html:strong, html:small, |
110 |
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
111 |
|
|
112 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* ContentChecker.pm ($AnyChecker): Renamed |
115 |
|
from |$ElementDefault->{checker}|. |
116 |
|
($ElementDefault->{checker}): Throw an error that |
117 |
|
the element type is not supported by the checker. |
118 |
|
($HTMLMetadataElement): |html:base| was missing. |
119 |
|
($HTMLEmptyChecker): Don't throw an error |
120 |
|
for inter-element whitespace nodes. |
121 |
|
(html:html checker): Errors were not |
122 |
|
thrown even if |html:head| and/or |html:body| |
123 |
|
children were missing. |
124 |
|
(html:head checker): An error was not |
125 |
|
thrown if <meta charset> appered after other |
126 |
|
elements. |
127 |
|
|
128 |
|
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
131 |
|
and |noscript| elements are implemented. |
132 |
|
(new): New method. |
133 |
|
|
134 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* ContentChecker.pm: New module. |
137 |
|
|
138 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
139 |
|
|
140 |
|
* NanoDOM.pm (manakai_parent_element, |
141 |
|
document_element, manakai_local_name, |
142 |
|
manakai_element_type_match): New method. |
143 |
|
|
144 |
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
147 |
|
entities in C1 range using Windows-1252 mapping. Bare LF |
148 |
|
did not count as new line for error reporting. |
149 |
|
|
150 |
|
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* NanoDOM.pm (DOMImplementation): New class. |
153 |
|
(append_child): Weaken the |parent_node| reference. |
154 |
|
(create_element_ns, Element new): Set the |owner_document| |
155 |
|
reference. |
156 |
|
(implementation): New attribute. |
157 |
|
(owner_document, local_name, namespace_uri): New attributes. |
158 |
|
|
159 |
|
* HTML.pm.src (parse_string): Line and column numbers |
160 |
|
are now provided to error handler. |
161 |
|
(!!!parse-error): Short descriptions are added. |
162 |
|
(_construct_tree): Split into three methods; support |
163 |
|
for innerHTML mode. |
164 |
|
(set_inner_html): New method. |
165 |
|
|
166 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
* NanoDOM.html: Documentation is added. |
* NanoDOM.html: Documentation is added. |