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