1 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* ContentChecker.pm (html): Set |is_root| (allowed |
4 |
|
as a document element) flag on. |
5 |
|
(new): Removed. |
6 |
|
(check_document): New method. |
7 |
|
|
8 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* ContentChecker.pm (thead, tfoot): Checker specifications |
11 |
|
were incorrect. |
12 |
|
|
13 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
16 |
|
error position in the |type| option of the error. |
17 |
|
|
18 |
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
19 |
|
is now optional. Some bugs are fixed. |
20 |
|
|
21 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTMLTable.pm: New module. |
24 |
|
|
25 |
|
* ContentChecker.pm (table): Invoke table model error checker. |
26 |
|
|
27 |
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
28 |
|
|
29 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
32 |
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
33 |
|
|
34 |
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
35 |
|
|
36 |
|
* _LinkTypeList.pm: New file. |
37 |
|
|
38 |
|
* mklinktypelist.pl: New file. |
39 |
|
|
40 |
|
* .cvsignore: |RelExtensions.html| added. |
41 |
|
|
42 |
|
* NanoDOM.pm (child_nodes): Returns an empty array |
43 |
|
for non-child-containing node types. |
44 |
|
(text_content): New attribute. |
45 |
|
|
46 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* IMTChecker.pm: New module. |
49 |
|
|
50 |
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
51 |
|
to test parameter value validity. |
52 |
|
|
53 |
|
* HTML.pm.src ($style_start_tag): Attributes were |
54 |
|
discarded. |
55 |
|
|
56 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
59 |
|
|
60 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* URIChecker.pm: All recommendations from RFC 3986 |
63 |
|
and RFC 3987 are listed (not all testable items are checked yet). |
64 |
|
|
65 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* URIChecker.pm: New module. |
68 |
|
|
69 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* ContentChecker.pm: Now most attributes are implemented |
72 |
|
or associated to some placeholder. |
73 |
|
($ElementDefault): Warn unknown attributes |
74 |
|
for unknown elements as "attribute not supported". |
75 |
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
76 |
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
77 |
|
(|a| attribute checker): Reimplemented. |
78 |
|
|
79 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
82 |
|
($HTMLAttrChecker): Event handler content attributes |
83 |
|
are added. |
84 |
|
(link, embed): Required attribute is now checked. |
85 |
|
(embed): Unknown local attributes are no longer warned. |
86 |
|
|
87 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
90 |
|
($HTMLIMTAttrChecker): New checker. |
91 |
|
(link@rel, link@href, link@type, style@type, |
92 |
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
93 |
|
object@data, object@type, source@src, source@type, area@alt, |
94 |
|
area@shape, area@coords, area@href, |
95 |
|
area@ping, area@rel, area@type, script@src, |
96 |
|
script@defer, script@async, script@type): Checkers added. |
97 |
|
|
98 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
|
* ContentChecker.pm: Descendant checking was incorrect. |
101 |
|
|
102 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
103 |
|
|
104 |
|
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
105 |
|
attributes. Report an error if |Element.prefix| |
106 |
|
is |xmlns|. |
107 |
|
|
108 |
|
* NanoDOM.pm (prefix): New attribute. |
109 |
|
|
110 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* HTML.pm.src: In |main| phase, |in body| insertion |
113 |
|
mode, action for |<iframe>| was missing. |
114 |
|
|
115 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
116 |
|
|
117 |
|
* ContentChecker.pm: Support for many of HTML5 elements. |
118 |
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
119 |
|
|
120 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* ContentChecker.pm: Support for most elements up to |progress|. |
123 |
|
($HTMLURIAttrChecker): Placeholder. |
124 |
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
125 |
|
New. |
126 |
|
|
127 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* ContentChecker.pm: Attribute checkers |
130 |
|
for global attributes, |html|, |base|, |style|, and |meta|. |
131 |
|
|
132 |
|
* NanoDOM.pm (insert_before): Weaken reference |
133 |
|
to the parent node. |
134 |
|
(Attr::new): Set |owner_element| attribute. |
135 |
|
(namespace_uri, manakai_local_name): New attribute implementations. |
136 |
|
(owner_element): New attribute. |
137 |
|
|
138 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
139 |
|
|
140 |
|
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
141 |
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
142 |
|
$Element->{$HTML_NS}->{''}): New. |
143 |
|
(check_element): Invoke attrs_checker for each element. |
144 |
|
|
145 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
148 |
|
|
149 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* ContentChecker.pm: Use hashs rather than lists for |
152 |
|
element type testings. |
153 |
|
|
154 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
155 |
|
|
156 |
|
* ContentChecker.pm: Don't generate duplicate |
157 |
|
error when an element type is put in the "minus" list |
158 |
|
and the element type is not allowed explicitly in the particular |
159 |
|
element content model. |
160 |
|
(html:a checker): New checker. |
161 |
|
(html:details, html:datagrid): New checkers. |
162 |
|
(html:legend): New checker. |
163 |
|
|
164 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
165 |
|
|
166 |
|
* ContentChecker.pm (html:li checker): Implemented. |
167 |
|
|
168 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
169 |
|
|
170 |
|
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
171 |
|
checker. |
172 |
|
(html:dd checker): New checker. |
173 |
|
(html:q, html:em, html:strong, html:small, |
174 |
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
175 |
|
|
176 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
177 |
|
|
178 |
|
* ContentChecker.pm ($AnyChecker): Renamed |
179 |
|
from |$ElementDefault->{checker}|. |
180 |
|
($ElementDefault->{checker}): Throw an error that |
181 |
|
the element type is not supported by the checker. |
182 |
|
($HTMLMetadataElement): |html:base| was missing. |
183 |
|
($HTMLEmptyChecker): Don't throw an error |
184 |
|
for inter-element whitespace nodes. |
185 |
|
(html:html checker): Errors were not |
186 |
|
thrown even if |html:head| and/or |html:body| |
187 |
|
children were missing. |
188 |
|
(html:head checker): An error was not |
189 |
|
thrown if <meta charset> appered after other |
190 |
|
elements. |
191 |
|
|
192 |
|
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
193 |
|
|
194 |
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
195 |
|
and |noscript| elements are implemented. |
196 |
|
(new): New method. |
197 |
|
|
198 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
199 |
|
|
200 |
|
* ContentChecker.pm: New module. |
201 |
|
|
202 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
203 |
|
|
204 |
|
* NanoDOM.pm (manakai_parent_element, |
205 |
|
document_element, manakai_local_name, |
206 |
|
manakai_element_type_match): New method. |
207 |
|
|
208 |
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
211 |
|
entities in C1 range using Windows-1252 mapping. Bare LF |
212 |
|
did not count as new line for error reporting. |
213 |
|
|
214 |
|
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* NanoDOM.pm (DOMImplementation): New class. |
217 |
|
(append_child): Weaken the |parent_node| reference. |
218 |
|
(create_element_ns, Element new): Set the |owner_document| |
219 |
|
reference. |
220 |
|
(implementation): New attribute. |
221 |
|
(owner_document, local_name, namespace_uri): New attributes. |
222 |
|
|
223 |
|
* HTML.pm.src (parse_string): Line and column numbers |
224 |
|
are now provided to error handler. |
225 |
|
(!!!parse-error): Short descriptions are added. |
226 |
|
(_construct_tree): Split into three methods; support |
227 |
|
for innerHTML mode. |
228 |
|
(set_inner_html): New method. |
229 |
|
|
230 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
232 |
* NanoDOM.html: Documentation is added. |
* NanoDOM.html: Documentation is added. |