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