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> |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |