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