1 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* ContentChecker.pm: Attribute checkers |
4 |
|
for global attributes, |html|, |base|, |style|, and |meta|. |
5 |
|
|
6 |
|
* NanoDOM.pm (insert_before): Weaken reference |
7 |
|
to the parent node. |
8 |
|
(Attr::new): Set |owner_element| attribute. |
9 |
|
(namespace_uri, manakai_local_name): New attribute implementations. |
10 |
|
(owner_element): New attribute. |
11 |
|
|
12 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
15 |
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
16 |
|
$Element->{$HTML_NS}->{''}): New. |
17 |
|
(check_element): Invoke attrs_checker for each element. |
18 |
|
|
19 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
22 |
|
|
23 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* ContentChecker.pm: Use hashs rather than lists for |
26 |
|
element type testings. |
27 |
|
|
28 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* ContentChecker.pm: Don't generate duplicate |
31 |
|
error when an element type is put in the "minus" list |
32 |
|
and the element type is not allowed explicitly in the particular |
33 |
|
element content model. |
34 |
|
(html:a checker): New checker. |
35 |
|
(html:details, html:datagrid): New checkers. |
36 |
|
(html:legend): New checker. |
37 |
|
|
38 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* ContentChecker.pm (html:li checker): Implemented. |
41 |
|
|
42 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
45 |
|
checker. |
46 |
|
(html:dd checker): New checker. |
47 |
|
(html:q, html:em, html:strong, html:small, |
48 |
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
49 |
|
|
50 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* ContentChecker.pm ($AnyChecker): Renamed |
53 |
|
from |$ElementDefault->{checker}|. |
54 |
|
($ElementDefault->{checker}): Throw an error that |
55 |
|
the element type is not supported by the checker. |
56 |
|
($HTMLMetadataElement): |html:base| was missing. |
57 |
|
($HTMLEmptyChecker): Don't throw an error |
58 |
|
for inter-element whitespace nodes. |
59 |
|
(html:html checker): Errors were not |
60 |
|
thrown even if |html:head| and/or |html:body| |
61 |
|
children were missing. |
62 |
|
(html:head checker): An error was not |
63 |
|
thrown if <meta charset> appered after other |
64 |
|
elements. |
65 |
|
|
66 |
|
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
69 |
|
and |noscript| elements are implemented. |
70 |
|
(new): New method. |
71 |
|
|
72 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* ContentChecker.pm: New module. |
75 |
|
|
76 |
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* NanoDOM.pm (manakai_parent_element, |
79 |
|
document_element, manakai_local_name, |
80 |
|
manakai_element_type_match): New method. |
81 |
|
|
82 |
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
85 |
|
entities in C1 range using Windows-1252 mapping. Bare LF |
86 |
|
did not count as new line for error reporting. |
87 |
|
|
88 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
* NanoDOM.pm (DOMImplementation): New class. |
* NanoDOM.pm (DOMImplementation): New class. |