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