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 rowspan=2><a href="http://whatwg.org/html5">HTML5 Draft Recommendation</a> |
20 |
<td rowspan=2>Most parts |
21 |
|
22 |
<tr><th><a href="#html">XHTML</a> |
23 |
|
24 |
<tr><th rowspan=2><a href="#atom">Atom</a> |
25 |
<td><a href="urn:ietf:rfc:4287">Atom 1.0 <abbr>RFC</abbr></a> |
26 |
<td><!-- Full --> |
27 |
|
28 |
<tr><td><a href="urn:ietf:rfc:4685">Atom Threading 1.0 <abbr>RFC</abbr></a> |
29 |
|
30 |
<tr><th scope=row rowspan=2><abbr title="Extensible Markup Language">XML</abbr> |
31 |
<td>1.0 Fourth Edition |
32 |
<td>Tentative |
33 |
<tr><td>1.1 Second Edition |
34 |
<td>Tentative |
35 |
<tr><th scope=row rowspan=2><abbr title="Extensible Markup Language">XML</abbr> |
36 |
Namespaces |
37 |
<td>1.0 Second Edition |
38 |
<td>Tentative |
39 |
<tr><td>1.1 First Edition |
40 |
<td>Tentative |
41 |
|
42 |
<tr> |
43 |
<th rowspan=2><a href="#css"><abbr title="Cascading Style Sheets">CSS</abbr></a> |
44 |
<td><a href="http://www.w3.org/TR/2007/CR-CSS21-20070719/">CSS 2.1 |
45 |
Candidate Recommendation</a> |
46 |
<td>Most parts |
47 |
|
48 |
<tr> |
49 |
<td><a href="http://www.w3.org/TR/2008/WD-css3-color-20080721/">CSS Color |
50 |
Level 3 <abbr title="Last Call Working Draft">LCWD</abbr></a> |
51 |
<td>Most parts |
52 |
|
53 |
<tr> |
54 |
<th scope=row>Selectors |
55 |
<td>3 |
56 |
<td><!-- Full --> |
57 |
</tbody> |
58 |
|
59 |
<tbody> |
60 |
<tr><th><a href="#cache-manifest">Cache Manifest</a> |
61 |
<td><a href="http://www.whatwg.org/specs/web-apps/current-work/#manifests">HTML5 |
62 |
Draft Recommendation</a> |
63 |
<td><!-- Full --> |
64 |
|
65 |
<tr><th><a href="#webidl">WebIDL</a> |
66 |
<td><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/WebIDL/Overview.html?rev=1.96&content-type=text/html;%20charset=utf-8">Editor's |
67 |
Draft 1.96</a> |
68 |
<td><!-- Full --> |
69 |
|
70 |
<tbody> |
71 |
<tr><th scope=row><abbr title="Hypertext Transfer Protocol">HTTP</abbr> |
72 |
<td> |
73 |
<td>Tentative (no validation) |
74 |
</tbody> |
75 |
</table> |
76 |
</div> |
77 |
|
78 |
<div class=section id=dom> |
79 |
<h2><abbr title="Document Object Model">DOM</abbr></h2> |
80 |
|
81 |
<p>The current implementation assumes that there are following |
82 |
requirements:</p> |
83 |
<ul> |
84 |
<li>The document element (or root element) <em class=rfc2119>MUST</em> |
85 |
be allowed to be a root element. <span class=example>For example, |
86 |
an <code>html</code> element in <code>http://www.w3.org/1999/xhtml</code> |
87 |
namespace is allowed to be a root element by the HTML5 |
88 |
specification.</span></li> |
89 |
</ul> |
90 |
</div> |
91 |
|
92 |
<div class=section id=html> |
93 |
<h2><abbr title="Hypertext Markup Language">HTML</abbr></h2> |
94 |
|
95 |
<p>HTML5 is partially implemented.</p> |
96 |
|
97 |
<p>In addition, the current implementation assumes that there are following |
98 |
requirements:</p> |
99 |
<ul> |
100 |
<li>Any attribute in the HTML namespace which is not defined by the |
101 |
HTML5 specification (including Web Forms 2.0 specification) |
102 |
<em class=rfc2119>MUST NOT</em> be used.</li> |
103 |
<li>For an element in the HTML namespace, any attribute in the null namespace |
104 |
(or per$B!>(Belement partition) <em class=rfc2119>MUST NOT</em> be used |
105 |
unless it is allowed by the HTML5 specification (including Web Forms 2.0 |
106 |
specification).</li> |
107 |
<li class=ed>@@ Forms elements: ... |
108 |
|
109 |
<li>For the attribute not defined in HTML5, the following definitions are |
110 |
applied. |
111 |
|
112 |
<div class="note memo"> |
113 |
<p>These definitions are updated version of their original definitions |
114 |
in previous versions of HTML (i.e. HTML 2.x, HTML4, Web Forms 2.0, |
115 |
or early drafts of HTML5). |
116 |
</div> |
117 |
|
118 |
<p>For each row in the table below, if an attribute (i.e. an |
119 |
<code>Attr</code> node) met the following conditions, then the |
120 |
<code>value</code> attribute value of the node <em class=rfc2119>MUST</em> |
121 |
be valid with regard to the constraints shown in the <q>Value</q> |
122 |
cell of the row. The conditions are: |
123 |
<ul> |
124 |
<li>There is an owner element (i.e. the <code>Element</code> node |
125 |
pointed by the <code>ownerElement</code> attribute of the |
126 |
<code>Attr</code> node). |
127 |
<li>The <code>namespaceURI</code> attribute value of the owner element |
128 |
is <code>http://www.w3.org/1999/xhtml</code>. |
129 |
<li>The <code>manakaiLocalName</code> attribute value [@@ TODO: ref] |
130 |
of the owner element is equal to the value in the <q>Element</q> cell |
131 |
of the row. |
132 |
<li>The <code>namespaceURI</code> attribute value of the <code>Attr</code> |
133 |
node is <code>null</code>. |
134 |
<li>The <code>manakaiLocalName</code> attribute value of the |
135 |
<code>Attr</code> node is equal to the value in the <q>Attribute</q> |
136 |
cell of the row. |
137 |
</ul> |
138 |
|
139 |
<table> |
140 |
<thead> |
141 |
<tr><th scope=row>Element<th scope=row>Attribute |
142 |
<th scope=row>Value |
143 |
<tbody> |
144 |
<tr><td><code>body</code><td><code>background</code> |
145 |
<td>Syntactically same as <code>img</code> <code>src</code> [HTML5] |
146 |
<tr><td><code>img</code><td><code>longdesc</code> |
147 |
<td>Syntactically same as <code>img</code> <code>src</code> [HTML5] |
148 |
|
149 |
<tr><td><code>input</code><td><code>accept-charset</code> |
150 |
<td>Same as <code>accept-charset</code> attribute of the |
151 |
<code>form</code> element [HTML5] |
152 |
|
153 |
<tr><td><code>input</code> (<code>type</code> attribute is in Image Button |
154 |
state) |
155 |
<td><code>usemap</code> |
156 |
<td>Syntactically same as <code>img</code> <code>usemap</code> [HTML5] |
157 |
<!-- This definition is necessary, since HTML5 definition for usemap="" |
158 |
has changed after <input usemap> is dropped. --> |
159 |
|
160 |
<tr><td><code>object</code><td><code>classid</code> or <code>codebase</code> |
161 |
<td>Syntactically same as <code>img</code> <code>src</code> [HTML5] |
162 |
|
163 |
<tr><td><code>head</code><td><code>profile</code> |
164 |
<td>Same as <code>a</code> <code>ping</code> [HTML5] |
165 |
<!-- This definition is necessary, since HTML5 defnition for attributes |
166 |
with URLs has changed after profile="" is dropped. --> |
167 |
|
168 |
<tr><td><code>object</code><td><code>archive</code> |
169 |
<td>Same as <code>a</code> <code>ping</code> [HTML5] |
170 |
|
171 |
<tr><td><code>object</code><td><code>codetype</code> |
172 |
<td>Same as <code>object</code> <code>type</code> [HTML5] |
173 |
<tr><td><code>param</code><td><code>type</code> |
174 |
<td>Same as <code>object</code> <code>type</code> [HTML5] |
175 |
<tr><td><code>address</code>, <code>div</code>, <code>h1</code>, |
176 |
<code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>, |
177 |
<code>h6</code>, or <code>p</code> |
178 |
<td><code>align</code> |
179 |
<td>Enumerated attribute [HTML5] |
180 |
|
181 |
<tr><td><code>img</code> or <code>object</code><td><code>align</code> |
182 |
<td>Enumerated attribute [HTML5] |
183 |
|
184 |
<tr><td><code>input</code> (<code>type</code> attribute is in |
185 |
Image Button state) |
186 |
<td><code>align</code> |
187 |
<td>Enumerated attribute [HTML5], where keywords are: <code>top</code>, |
188 |
<code>middle</code>, <code>bottom</code>, <code>left</code>, |
189 |
<code>right</code><!-- Same as HTML4 Transitional DTD definition. See |
190 |
also comment below. --> |
191 |
|
192 |
<tr><td><code>br</code><td><code>clear</code> |
193 |
<td>Enumerated attribute [HTML5] |
194 |
<tr><td><code>param</code><td><code>valuetype</code> |
195 |
<td>Enumerated attribute [HTML5] |
196 |
<tr><td><code>pre</code><td><code>width</code> |
197 |
<td>Valid non-negative integer [HTML5] |
198 |
<tr><td><code>ul</code>, <code>ol</code>, <code>dir</code>, |
199 |
<code>menu</code>, or <code>dl</code><td><code>compact</code> |
200 |
<td>Boolean attribute [HTML5] |
201 |
|
202 |
<tr><td><code>input</code> (<code>type</code> attribute is in Image |
203 |
Button<!-- @@ ref --> state) |
204 |
<td><code>ismap</code> |
205 |
<td>Boolean attribute [HTML5] |
206 |
|
207 |
<tr><td><code>table</code><td><code>frame</code> or <code>rules</code> |
208 |
<td>Enumerated attribute [HTML5] |
209 |
<tr><td><code>td</code><td><code>scope</code> |
210 |
<td>Same as <code>scope</code> attribute of the <code>th</code> element |
211 |
[HTML5] |
212 |
<tr><td><code>tbody</code>, <code>thead</code>, <code>tfoot</code>, |
213 |
<code>colgroup</code>, <code>col</code>, <code>tr</code>, <code>td</code>, |
214 |
or <code>th</code><td><code>align</code> or <code>valign</code> |
215 |
<td>Enumerated attribute [HTML5] |
216 |
|
217 |
<tr><td><code>input</code> (<code>type</code> attribute is in |
218 |
Image Button<!-- @@ ref --> or Submit Button<!-- @@ ref --> state) |
219 |
<td><code>replace</code> |
220 |
<td>Enumerated attribute [HTML5] |
221 |
|
222 |
<tr><td><code>link</code><td><code>target</code> |
223 |
<td>Valid browsing context name or keyword [HTML5] |
224 |
<tr id=html-meta-scheme><td><code>meta</code><td><code>schema</code> |
225 |
<td>Any string |
226 |
<!-- |
227 |
NOTE: According to HTML4, values for the |scheme| attribute |
228 |
depend on |name| attribute and |profile| of |head|. Otherwise |
229 |
it is "cdata". The only profile with any scheme value defined |
230 |
is <http://dublincore.org/documents/dcq-html/> (and those |
231 |
references that profile; see |
232 |
<http://suika.fam.cx/gate/2005/sw/scheme#anchor-55> for more |
233 |
information). |
234 |
--> |
235 |
<tr id=html-rev><td><code>a</code> or <code>link</code><td><code>rev</code> |
236 |
<td>Unordered set of unique space-separated tokens [HTML5] |
237 |
(where any word is allowed) |
238 |
<tr id=html-table-cellpadding><td rowspan=2><code>table</code> |
239 |
<td><code>cellpadding</code> |
240 |
<td rowspan=2>A non-negative integer [HTML5] or a non-negative integer |
241 |
[HTML5] followed by a <code>%</code> character |
242 |
<tr id=html-table-cellspacing><td><code>cellspacing</code> |
243 |
<tr id=html-a-charset><td><code>a</code> |
244 |
<td rowspan=2><code>charset</code> |
245 |
<td rowspan=2>Same as <code>script</code> <code>charset</code> [HTML5], |
246 |
syntactically |
247 |
<tr id=html-link-charset><td><code>link</code> |
248 |
</table> |
249 |
<li>Any value <em class=rfc2119>MAY</em> be specified to the |
250 |
<code>version</code> attribute of an <code>html</code> element. |
251 |
<li>@@ elements ... |
252 |
|
253 |
<table> |
254 |
<thead> |
255 |
<tr><th scope=row>Element<th scope=row>Content Model |
256 |
<th scope=row>Allowed Context |
257 |
<tbody> |
258 |
<tr><th scope=col><code>center</code> |
259 |
<td colspan=2>Same as <code>div</code> [HTML5] |
260 |
</table> |
261 |
</ul> |
262 |
|
263 |
<p>For an <code>input</code> element whose <code>type</code> attribute |
264 |
is <code>add</code>, <code>remove</code>, <code>move-up</code>, or |
265 |
<code>move-down</code> (ASCII case-insensitive<!-- ref -->) [WF2], |
266 |
attributes that is not allowed for an <code>input</code> element whose |
267 |
<code>type</code> attribute is in the Button state<!-- ref --> <em |
268 |
class=rfc2119>MUST NOT</em> be specified.<!-- Whether an attribute is |
269 |
applicable or not is normatively defined in the table in the Appendix |
270 |
B of the Web Forms 2.0 specification. However, there is no clause |
271 |
that states that use of an attribute that is not applied is |
272 |
non-conforming. Note that the <code>template</code> attribute, which |
273 |
is applied to the <code>add</code> attribute according to Web Forms |
274 |
2.0, is defined as a global attribute (with different semantics and |
275 |
syntax) by HTML5 as part of the data template feature. --> |
276 |
|
277 |
<p>The <code>inputmode</code> attribute applies to an |
278 |
<code>input</code> element in Text, E-mail, URL, or Password<!-- @@ |
279 |
refs --> state. The <code>replace</code> attribute applies to an |
280 |
<code>input</code> element in Image Button or Submit Button<!-- @@ |
281 |
refs --> state.<!-- In WF2 normative table, but no MUST NOT there. --> |
282 |
The <code>usemap</code> attribute applies to an <code>input</code> |
283 |
element in Image Button<!-- @@ ref --> state.<!-- In HTML5 prior to |
284 |
r997, usemap="" MAY be specified to an input element with Image (now |
285 |
Image Button) state, but Image state was not defined yet and there |
286 |
were no "MUST NOT".--> The <code>align</code> attribute applies to an |
287 |
<code>input</code> element in Image Button state.<!-- In HTML4, to |
288 |
which state(s) this attribute is applied is not defined at all. In |
289 |
addition, the reference to the definition of the attribute is linked |
290 |
to a wrong place (align attribute of p element and so on). In HTML |
291 |
2.x, DTD comment implies that this attribute applies to type=image. |
292 |
In HTML 2.0, this attribute is only explained for type=image in the |
293 |
prose. --> Any of these attributes <em class=rfc2119>MUST NOT</em> be |
294 |
specified for an <code>input</code> element whose <code>type</code> |
295 |
attribute is in a state where the attribute does not apply. |
296 |
|
297 |
<p id=cache-manifest>The |
298 |
<a href="http://www.whatwg.org/specs/web-apps/current-work/#manifests">cache |
299 |
manifest syntax</a> is also supported. |
300 |
</div> |
301 |
|
302 |
<div class=section id=atom> |
303 |
<h2>Atom</h2> |
304 |
|
305 |
<p><a href="urn:ietf:rfc:4287">Atom 1.0</a> and |
306 |
<a href="urn:ietf:rfc:4685">Atom Threading 1.0</a> are supported. |
307 |
|
308 |
<p>However, conformance to some <em class=rfc2119>SHOULD</em>-level |
309 |
requirements, as well as some informational guidelines, are currently |
310 |
not checked. In addition, whether an email-address or a Base64 |
311 |
encoding is correct or not is not checked either. |
312 |
|
313 |
<p>Use of XML digital signature and encryption is not supported. |
314 |
|
315 |
<p>The current implementation assumes that there are following |
316 |
requirements:</p> |
317 |
<ul> |
318 |
<li>Elements and attributes in the Atom namespace, as well as attributes |
319 |
in the null namespace for an element in the Atom namespace, |
320 |
<em class=rfc2119>MUST NOT</em> |
321 |
be used except for contexts where they are allowed by the Atom |
322 |
specification.</li> |
323 |
<li>Inter-element whitespace [HTML5], processing instructions, and |
324 |
comments <em class=rfc2119>MUST</em> be ignored for the purpose of |
325 |
conformance of the content of an element. |
326 |
</ul> |
327 |
</div> |
328 |
|
329 |
<div class=section id=css> |
330 |
<h2><abbr title="Cascading Style Sheets">CSS</abbr></h2> |
331 |
|
332 |
<p>CSS @namespace and Selectors Level 3 are fully implemented.</p> |
333 |
|
334 |
<p>Most of <a href="http://www.w3.org/TR/2007/CR-CSS21-20070719/">CSS 2.1 |
335 |
(<time datetime=2007-07-19>19 July 2007</time> Candidate Recommendation)</a> |
336 |
is implemented. |
337 |
<!-- @@ TODO: What is missing? --> |
338 |
|
339 |
<p>Most of <a href="http://www.w3.org/TR/2008/WD-css3-color-20080721/">CSS |
340 |
Color Module Level 3 (<time datetime=2008-07-21>21 July 2008</time> Last |
341 |
Call Working Draft)</a> is implemented. |
342 |
<!-- @@ TODO: What is missing? --> |
343 |
|
344 |
<p>Since the <abbr title="Cascading Style Sheets">CSS</abbr> 2.1 |
345 |
specification is sometimes ambigious or disagree with browsers, |
346 |
our implementation is tend to copy what browsers do unless |
347 |
there is strong resaon to do different thing.</p> |
348 |
|
349 |
<p>In addition, the current implementation assumes that there are following |
350 |
requirements:</p> |
351 |
<ul> |
352 |
<li id=css-type-charset-param>The <code>charset</code> parameter of the media |
353 |
type <code>text/css</code> <em class=rfc2119>MUST</em> be treated as if it |
354 |
were an unknown parameter for the purpose of determining styling langauge for |
355 |
an <abbr>HTML</abbr> <code>style</code> element.</li> |
356 |
<li id=css-style-content>Content of an <abbr>HTML</abbr> <code>style</code> |
357 |
element whose content is interpreted as a CSS style sheet |
358 |
<em class=rfc2119>MUST</em> consist of zero or more |
359 |
<a href="http://www.whatwg.org/specs/web-apps/current-work/#text-node">text nodes</a>. |
360 |
Note that it may also contain zero or more comment and/or processing |
361 |
instruction nodes.</li> |
362 |
</ul> |
363 |
|
364 |
</div> |
365 |
|
366 |
<div class=section id=webidl> |
367 |
<h2>WebIDL</h2> |
368 |
|
369 |
<p><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/WebIDL/Overview.html?rev=1.96&content-type=text/html;%20charset=utf-8">WebIDL |
370 |
Editor's Draft revision 1.96 (<time datetime=2008-09-03>3 September |
371 |
2008</time>)</a> is implemented.</p> |
372 |
</div> |
373 |
|
374 |
</body> |
375 |
</html> |