| 1 |
wakaba |
1.1 |
<!DOCTYPE HTML> |
| 2 |
|
|
<html lang=en> |
| 3 |
|
|
<head> |
| 4 |
|
|
<title>Standards Supported by Web Documenet Conformance Checker</title> |
| 5 |
|
|
<link rel=stylesheet href=cc-style> |
| 6 |
|
|
</head> |
| 7 |
|
|
<body> |
| 8 |
|
|
<h1>Standards Supported by Web Document Conformance Checker</h1> |
| 9 |
|
|
|
| 10 |
|
|
<div class=section id=summary> |
| 11 |
|
|
<h2>Summary</h2> |
| 12 |
|
|
|
| 13 |
|
|
<table> |
| 14 |
|
|
<thead> |
| 15 |
|
|
<tr><th scope=col>Standard<th scope=col>Version<th scope=col>Note |
| 16 |
|
|
</thead> |
| 17 |
|
|
<tbody> |
| 18 |
|
|
<tr><th scope=row><a href="#html"><abbr title="Hypertext Markup Language">HTML</abbr></a> |
| 19 |
|
|
<td><a href="http://whatwg.org/html5">5 (Editor's Draft)</a> |
| 20 |
|
|
<td>Partially |
| 21 |
|
|
<tr><th scope=row><a href="#atom">Atom</a> |
| 22 |
|
|
<td><abbr>RFC</abbr></td> |
| 23 |
|
|
<td>Partially |
| 24 |
|
|
<tr><th scope=row rowspan=2><abbr title="Extensible Markup Language">XML</abbr> |
| 25 |
|
|
<td>1.0 Fourth Edition |
| 26 |
|
|
<td>Tentative |
| 27 |
|
|
<tr><td>1.1 Second Edition |
| 28 |
|
|
<td>Tentative |
| 29 |
|
|
<tr><th scope=row rowspan=2><abbr title="Extensible Markup Language">XML</abbr> |
| 30 |
|
|
Namespaces |
| 31 |
|
|
<td>1.0 Second Edition |
| 32 |
|
|
<td>Tentative |
| 33 |
|
|
<tr><td>1.1 First Edition |
| 34 |
|
|
<td>Tentative |
| 35 |
wakaba |
1.2 |
<tr> |
| 36 |
|
|
<th scope=row><a href="#css"><abbr title="Cascading Style Sheets">CSS</abbr></a> |
| 37 |
|
|
<td>2.1 |
| 38 |
|
|
<td>Most part |
| 39 |
|
|
<tr> |
| 40 |
|
|
<th scope=row>Selectors |
| 41 |
|
|
<td>3 |
| 42 |
|
|
<td><!-- Full --> |
| 43 |
wakaba |
1.1 |
</tbody> |
| 44 |
|
|
<tbody> |
| 45 |
|
|
<tr><th scope=row><abbr title="Hypertext Transfer Protocol">HTTP</abbr> |
| 46 |
|
|
<td> |
| 47 |
|
|
<td>Tentative (no validation) |
| 48 |
|
|
</tbody> |
| 49 |
|
|
</table> |
| 50 |
|
|
</div> |
| 51 |
|
|
|
| 52 |
wakaba |
1.3 |
<div class=section id=dom> |
| 53 |
|
|
<h2><abbr title="Document Object Model">DOM</abbr></h2> |
| 54 |
|
|
|
| 55 |
|
|
<p>The current implementation assumes that there are following |
| 56 |
|
|
requirements:</p> |
| 57 |
|
|
<ul> |
| 58 |
|
|
<li>The document element (or root element) <em class=rfc2119>MUST</em> |
| 59 |
|
|
be allowed to be a root element. <span class=example>For example, |
| 60 |
|
|
an <code>html</code> element in <code>http://www.w3.org/1999/xhtml</code> |
| 61 |
|
|
namespace is allowed to be a root element by the HTML5 |
| 62 |
|
|
specification.</span></li> |
| 63 |
|
|
</ul> |
| 64 |
|
|
</div> |
| 65 |
|
|
|
| 66 |
wakaba |
1.1 |
<div class=section id=html> |
| 67 |
|
|
<h2><abbr title="Hypertext Markup Language">HTML</abbr></h2> |
| 68 |
|
|
|
| 69 |
wakaba |
1.3 |
<p>HTML5 is partially implemented.</p> |
| 70 |
|
|
|
| 71 |
wakaba |
1.4 |
<p>In addition, the current implementation assumes that there are following |
| 72 |
|
|
requirements:</p> |
| 73 |
wakaba |
1.1 |
<ul> |
| 74 |
wakaba |
1.9 |
<li>Any attribute in the HTML namespace which is not defined by the |
| 75 |
wakaba |
1.7 |
HTML5 specification (including Web Forms 2.0 specification) |
| 76 |
|
|
<em class=rfc2119>MUST NOT</em> be used.</li> |
| 77 |
wakaba |
1.4 |
<li>For an element in the HTML namespace, any attribute in the null namespace |
| 78 |
|
|
(or per$B!>(Belement partition) <em class=rfc2119>MUST NOT</em> be used |
| 79 |
|
|
unless it is allowed by the HTML5 specification (including Web Forms 2.0 |
| 80 |
|
|
specification).</li> |
| 81 |
|
|
<li class=ed>@@ Forms elements: ... |
| 82 |
wakaba |
1.5 |
|
| 83 |
|
|
<li>For the attribute not defined in HTML5, the following definitions are |
| 84 |
|
|
applied. |
| 85 |
|
|
|
| 86 |
|
|
<div class="note memo"> |
| 87 |
|
|
<p>These definitions are updated version of their original definitions |
| 88 |
|
|
in previous versions of HTML4. |
| 89 |
|
|
</div> |
| 90 |
|
|
|
| 91 |
|
|
<p>For each row in the table below, if an attribute (i.e. an |
| 92 |
|
|
<code>Attr</code> node) met the following conditions, then the |
| 93 |
|
|
<code>value</code> attribute value of the node <em class=rfc2119>MUST</em> |
| 94 |
|
|
be valid with regard to the constraints shown in the <q>Value</q> |
| 95 |
|
|
cell of the row. The conditions are: |
| 96 |
|
|
<ul> |
| 97 |
|
|
<li>There is an owner element (i.e. the <code>Element</code> node |
| 98 |
|
|
pointed by the <code>ownerElement</code> attribute of the |
| 99 |
|
|
<code>Attr</code> node). |
| 100 |
|
|
<li>The <code>namespaceURI</code> attribute value of the owner element |
| 101 |
|
|
is <code>http://www.w3.org/1999/xhtml</code>. |
| 102 |
|
|
<li>The <code>manakaiLocalName</code> attribute value [@@ TODO: ref] |
| 103 |
|
|
of the owner element is equal to the value in the <q>Element</q> cell |
| 104 |
|
|
of the row. |
| 105 |
|
|
<li>The <code>namespaceURI</code> attribute value of the <code>Attr</code> |
| 106 |
|
|
node is <code>null</code>. |
| 107 |
|
|
<li>The <code>manakaiLocalName</code> attribute value of the |
| 108 |
|
|
<code>Attr</code> node is equal to the value in the <q>Attribute</q> |
| 109 |
|
|
cell of the row. |
| 110 |
|
|
</ul> |
| 111 |
|
|
|
| 112 |
|
|
<table> |
| 113 |
|
|
<thead> |
| 114 |
|
|
<tr><th scope=row>Element<th scope=row>Attribute |
| 115 |
|
|
<th scope=row>Value |
| 116 |
|
|
<tbody> |
| 117 |
|
|
<tr><td><code>body</code><td><code>background</code> |
| 118 |
|
|
<td>Same as <code>img</code> <code>src</code> [HTML5] |
| 119 |
|
|
<tr><td><code>img</code><td><code>longdesc</code> |
| 120 |
|
|
<td>Same as <code>img</code> <code>src</code> [HTML5] |
| 121 |
|
|
<tr><td><code>object</code><td><code>classid</code> or <code>codebase</code> |
| 122 |
wakaba |
1.8 |
<td>Same as <code>img</code> <code>src</code> [HTML5] |
| 123 |
wakaba |
1.5 |
<tr><td><code>object</code><td><code>archive |
| 124 |
|
|
<td>Same as <code>a</code> <code>ping</code> [HTML5] |
| 125 |
|
|
<tr><td><code>object</code><td><code>codetype</code> |
| 126 |
|
|
<td>Same as <code>object</code> <code>type</code> [HTML5] |
| 127 |
|
|
<tr><td><code>param</code><td><code>type</code> |
| 128 |
|
|
<td>Same as <code>object</code> <code>type</code> [HTML5] |
| 129 |
|
|
<tr><td><code>div</code>, <code>h1</code>, <code>h2</code>, <code>h3</code>, |
| 130 |
|
|
<code>h4</code>, <code>h5</code>, <code>h6</code>, or <code>p</code> |
| 131 |
|
|
<td><code>align</code> |
| 132 |
|
|
<td>Enumerated attribute [HTML5] |
| 133 |
|
|
<tr><td><code>img</code> or <code>object</code><td><code>align</code> |
| 134 |
|
|
<td>Enumerated attribute [HTML5] |
| 135 |
|
|
<tr><td><code>br</code><td><code>clear</code> |
| 136 |
|
|
<td>Enumerated attribute [HTML5] |
| 137 |
|
|
<tr><td><code>param</code><td><code>valuetype</code> |
| 138 |
|
|
<td>Enumerated attribute [HTML5] |
| 139 |
|
|
<tr><td><code>pre</code><td><code>width</code> |
| 140 |
|
|
<td>Valid non-negative integer [HTML5] |
| 141 |
|
|
<tr><td><code>ul</code>, <code>ol</code>, <code>dir</code>, |
| 142 |
|
|
<code>menu</code>, or <code>dl</code><td><code>compact</code> |
| 143 |
|
|
<td>Boolean attribute [HTML5] |
| 144 |
|
|
<tr><td><code>table</code><td><code>frame</code> or <code>rules</code> |
| 145 |
|
|
<td>Enumerated attribute [HTML5] |
| 146 |
|
|
<tr><td><code>td</code><td><code>scope</code> |
| 147 |
|
|
<td>Same as <code>scope</code> attribute of the <code>th</code> element |
| 148 |
|
|
[HTML5] |
| 149 |
|
|
<tr><td><code>tbody</code>, <code>thead</code>, <code>tfoot</code>, |
| 150 |
|
|
<code>colgroup</code>, <code>col</code>, <code>tr</code>, <code>td</code>, |
| 151 |
|
|
or <code>th</code><td><code>align</code> or <code>valign</code> |
| 152 |
|
|
<td>Enumerated attribute [HTML5] |
| 153 |
|
|
<tr><td><code>link</code><td><code>target</code> |
| 154 |
wakaba |
1.6 |
<td>Valid browsing context name or keyword [HTML5] |
| 155 |
wakaba |
1.5 |
<tr id=html-meta-scheme><td><code>meta</code><td><code>schema</code> |
| 156 |
|
|
<td>Any string |
| 157 |
|
|
<!-- |
| 158 |
|
|
NOTE: According to HTML4, values for the |scheme| attribute |
| 159 |
|
|
depend on |name| attribute and |profile| of |head|. Otherwise |
| 160 |
|
|
it is "cdata". The only profile with any scheme value defined |
| 161 |
|
|
is <http://dublincore.org/documents/dcq-html/> (and those |
| 162 |
|
|
references that profile; see |
| 163 |
|
|
<http://suika.fam.cx/gate/2005/sw/scheme#anchor-55> for more |
| 164 |
|
|
information). |
| 165 |
|
|
--> |
| 166 |
wakaba |
1.8 |
<tr id=html-rev><td><code>a</code> or <code>link</code><td><code>rev</code> |
| 167 |
wakaba |
1.5 |
<td>Unordered set of unique space-separated tokens [HTML5] |
| 168 |
|
|
(where any word is allowed) |
| 169 |
wakaba |
1.8 |
<tr id=html-table-cellpadding><td rowspan=2><code>table</code> |
| 170 |
|
|
<td><code>cellpadding</code> |
| 171 |
|
|
<td rowspan=2>A non-negative integer [HTML5] or a non-negative integer |
| 172 |
|
|
[HTML5] followed by a <code>%</code> character |
| 173 |
|
|
<tr id=html-table-cellspacing><td><code>cellspacing</code> |
| 174 |
wakaba |
1.9 |
<tr id=html-a-charset><td><code>a</code> |
| 175 |
|
|
<td rowspan=2><code>charset</code> |
| 176 |
|
|
<td rowspan=2>Same as <code>script</code> <code>charset</code> [HTML5], |
| 177 |
|
|
syntactically |
| 178 |
|
|
<tr id=html-link-charset><td><code>link</code> |
| 179 |
wakaba |
1.5 |
</table> |
| 180 |
|
|
<li>Any value <em class=rfc2119>MAY</em> be specified to the |
| 181 |
|
|
<code>version</code> attribute of an <code>html</code> element. |
| 182 |
|
|
<li>@@ elements ... |
| 183 |
|
|
|
| 184 |
|
|
<table> |
| 185 |
|
|
<thead> |
| 186 |
|
|
<tr><th scope=row>Element<th scope=row>Content Model |
| 187 |
|
|
<th scope=row>Allowed Context |
| 188 |
|
|
<tbody> |
| 189 |
|
|
<tr><th scope=col><code>center</code> |
| 190 |
|
|
<td colspan=2>Same as <code>div</code> [HTML5] |
| 191 |
|
|
</table> |
| 192 |
wakaba |
1.1 |
</ul> |
| 193 |
|
|
</div> |
| 194 |
|
|
|
| 195 |
|
|
<div class=section id=atom> |
| 196 |
|
|
<h2>Atom</h2> |
| 197 |
|
|
|
| 198 |
wakaba |
1.5 |
<p>The current implementation assumes that there are following |
| 199 |
wakaba |
1.4 |
requirements:</p> |
| 200 |
|
|
<ul> |
| 201 |
|
|
<li>Elements and attributes in the Atom namespace, as well as attributes |
| 202 |
|
|
in the null namespace for an element in the Atom namespace, |
| 203 |
|
|
<em class=rfc2119>MUST NOT</em> |
| 204 |
|
|
be used except for contexts where they are allowed by the Atom |
| 205 |
|
|
specification.</li> |
| 206 |
|
|
<li>Inter-element whitespace [HTML5], processing instructions, and |
| 207 |
|
|
comments <em class=rfc2119>MUST</em> be ignored for the purpose of |
| 208 |
|
|
conformance of the content of an element. |
| 209 |
|
|
</ul> |
| 210 |
wakaba |
1.2 |
</div> |
| 211 |
|
|
|
| 212 |
|
|
<div class=section id=css> |
| 213 |
|
|
<h2><abbr title="Cascading Style Sheets">CSS</abbr></h2> |
| 214 |
|
|
|
| 215 |
wakaba |
1.3 |
<p>CSS @namespace and Selectors Level 3 are fully implemented.</p> |
| 216 |
|
|
|
| 217 |
|
|
<p>CSS 2.1 and CSS Color Level 3 are partially |
| 218 |
|
|
implemented.</p> |
| 219 |
|
|
|
| 220 |
|
|
<p>Since the <abbr title="Cascading Style Sheets">CSS</abbr> 2.1 |
| 221 |
|
|
specification is sometimes ambigious or disagree with browsers, |
| 222 |
|
|
our implementation is tend to copy what browsers do unless |
| 223 |
|
|
there is strong resaon to do different thing.</p> |
| 224 |
|
|
|
| 225 |
|
|
<p>In addition, the current implementation assumes that there are following |
| 226 |
wakaba |
1.2 |
requirements:</p> |
| 227 |
|
|
<ul> |
| 228 |
|
|
<li id=css-type-charset-param>The <code>charset</code> parameter of the media |
| 229 |
|
|
type <code>text/css</code> <em class=rfc2119>MUST</em> be treated as if it |
| 230 |
|
|
were an unknown parameter for the purpose of determining styling langauge for |
| 231 |
|
|
an <abbr>HTML</abbr> <code>style</code> element.</li> |
| 232 |
|
|
<li id=css-style-content>Content of an <abbr>HTML</abbr> <code>style</code> |
| 233 |
|
|
element whose content is interpreted as a CSS style sheet |
| 234 |
|
|
<em class=rfc2119>MUST</em> consist of zero or more |
| 235 |
|
|
<a href="http://www.whatwg.org/specs/web-apps/current-work/#text-node">text nodes</a>. |
| 236 |
|
|
Note that it may also contain zero or more comment and/or processing |
| 237 |
|
|
instruction nodes.</li> |
| 238 |
|
|
</ul> |
| 239 |
|
|
|
| 240 |
wakaba |
1.1 |
</div> |
| 241 |
|
|
|
| 242 |
|
|
</body> |
| 243 |
|
|
</html> |