| 1 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* ContentChecker.pm (html): Set |is_root| (allowed |
| 4 |
|
as a document element) flag on. |
| 5 |
|
(new): Removed. |
| 6 |
|
(check_document): New method. |
| 7 |
|
|
| 8 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 9 |
|
|
| 10 |
|
* ContentChecker.pm (thead, tfoot): Checker specifications |
| 11 |
|
were incorrect. |
| 12 |
|
|
| 13 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 14 |
|
|
| 15 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
| 16 |
|
error position in the |type| option of the error. |
| 17 |
|
|
| 18 |
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
| 19 |
|
is now optional. Some bugs are fixed. |
| 20 |
|
|
| 21 |
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
| 22 |
|
|
| 23 |
|
* HTMLTable.pm: New module. |
| 24 |
|
|
| 25 |
|
* ContentChecker.pm (table): Invoke table model error checker. |
| 26 |
|
|
| 27 |
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
| 28 |
|
|
| 29 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
| 30 |
|
|
| 31 |
|
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
| 32 |
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
| 33 |
|
|
| 34 |
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
| 35 |
|
|
| 36 |
|
* _LinkTypeList.pm: New file. |
| 37 |
|
|
| 38 |
|
* mklinktypelist.pl: New file. |
| 39 |
|
|
| 40 |
|
* .cvsignore: |RelExtensions.html| added. |
| 41 |
|
|
| 42 |
|
* NanoDOM.pm (child_nodes): Returns an empty array |
| 43 |
|
for non-child-containing node types. |
| 44 |
|
(text_content): New attribute. |
| 45 |
|
|
| 46 |
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
| 47 |
|
|
| 48 |
|
* IMTChecker.pm: New module. |
| 49 |
|
|
| 50 |
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
| 51 |
|
to test parameter value validity. |
| 52 |
|
|
| 53 |
|
* HTML.pm.src ($style_start_tag): Attributes were |
| 54 |
|
discarded. |
| 55 |
|
|
| 56 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
| 57 |
|
|
| 58 |
|
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
| 59 |
|
|
| 60 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
| 61 |
|
|
| 62 |
|
* URIChecker.pm: All recommendations from RFC 3986 |
| 63 |
|
and RFC 3987 are listed (not all testable items are checked yet). |
| 64 |
|
|
| 65 |
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
| 66 |
|
|
| 67 |
|
* URIChecker.pm: New module. |
| 68 |
|
|
| 69 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 70 |
|
|
| 71 |
|
* ContentChecker.pm: Now most attributes are implemented |
| 72 |
|
or associated to some placeholder. |
| 73 |
|
($ElementDefault): Warn unknown attributes |
| 74 |
|
for unknown elements as "attribute not supported". |
| 75 |
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
| 76 |
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
| 77 |
|
(|a| attribute checker): Reimplemented. |
| 78 |
|
|
| 79 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 80 |
|
|
| 81 |
|
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
| 82 |
|
($HTMLAttrChecker): Event handler content attributes |
| 83 |
|
are added. |
| 84 |
|
(link, embed): Required attribute is now checked. |
| 85 |
|
(embed): Unknown local attributes are no longer warned. |
| 86 |
|
|
| 87 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 88 |
|
|
| 89 |
|
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
| 90 |
|
($HTMLIMTAttrChecker): New checker. |
| 91 |
|
(link@rel, link@href, link@type, style@type, |
| 92 |
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
| 93 |
|
object@data, object@type, source@src, source@type, area@alt, |
| 94 |
|
area@shape, area@coords, area@href, |
| 95 |
|
area@ping, area@rel, area@type, script@src, |
| 96 |
|
script@defer, script@async, script@type): Checkers added. |
| 97 |
|
|
| 98 |
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
| 99 |
|
|
| 100 |
|
* ContentChecker.pm: Descendant checking was incorrect. |
| 101 |
|
|
| 102 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 103 |
|
|
| 104 |
|
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
| 105 |
|
attributes. Report an error if |Element.prefix| |
| 106 |
|
is |xmlns|. |
| 107 |
|
|
| 108 |
|
* NanoDOM.pm (prefix): New attribute. |
| 109 |
|
|
| 110 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 111 |
|
|
| 112 |
|
* HTML.pm.src: In |main| phase, |in body| insertion |
| 113 |
|
mode, action for |<iframe>| was missing. |
| 114 |
|
|
| 115 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 116 |
|
|
| 117 |
|
* ContentChecker.pm: Support for many of HTML5 elements. |
| 118 |
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
| 119 |
|
|
| 120 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 121 |
|
|
| 122 |
|
* ContentChecker.pm: Support for most elements up to |progress|. |
| 123 |
|
($HTMLURIAttrChecker): Placeholder. |
| 124 |
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
| 125 |
|
New. |
| 126 |
|
|
| 127 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 128 |
|
|
| 129 |
|
* ContentChecker.pm: Attribute checkers |
| 130 |
|
for global attributes, |html|, |base|, |style|, and |meta|. |
| 131 |
|
|
| 132 |
|
* NanoDOM.pm (insert_before): Weaken reference |
| 133 |
|
to the parent node. |
| 134 |
|
(Attr::new): Set |owner_element| attribute. |
| 135 |
|
(namespace_uri, manakai_local_name): New attribute implementations. |
| 136 |
|
(owner_element): New attribute. |
| 137 |
|
|
| 138 |
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
| 139 |
|
|
| 140 |
|
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
| 141 |
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
| 142 |
|
$Element->{$HTML_NS}->{''}): New. |
| 143 |
|
(check_element): Invoke attrs_checker for each element. |
| 144 |
|
|
| 145 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 146 |
|
|
| 147 |
|
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
| 148 |
|
|
| 149 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 150 |
|
|
| 151 |
|
* ContentChecker.pm: Use hashs rather than lists for |
| 152 |
|
element type testings. |
| 153 |
|
|
| 154 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 155 |
|
|
| 156 |
|
* ContentChecker.pm: Don't generate duplicate |
| 157 |
|
error when an element type is put in the "minus" list |
| 158 |
|
and the element type is not allowed explicitly in the particular |
| 159 |
|
element content model. |
| 160 |
|
(html:a checker): New checker. |
| 161 |
|
(html:details, html:datagrid): New checkers. |
| 162 |
|
(html:legend): New checker. |
| 163 |
|
|
| 164 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
| 165 |
|
|
| 166 |
* ContentChecker.pm (html:li checker): Implemented. |
* ContentChecker.pm (html:li checker): Implemented. |