--- test/html-webhacc/standards.en.html 2008/02/09 12:22:19 1.2 +++ test/html-webhacc/standards.en.html 2008/12/11 05:11:11 1.14 @@ -1,14 +1,19 @@ -Standards Supported by Web Documenet Conformance Checker +WebHACC — Supported Standards -

Standards Supported by Web Document Conformance Checker

-
-

Summary

+

WebHACC

+ +
+

Supported Standards

+ +

The table below summarizes Web standards supported by WebHACC. See +following subsections for more details. @@ -16,11 +21,17 @@ - - + + + +
HTML -5 (Editor's Draft) -Partially -
Atom -RFCPartially +HTML5 Draft Recommendation +Most parts + +
XHTML + +
Atom +Atom 1.0 RFC + + +
Atom Threading 1.0 RFC +
XML 1.0 Fourth Edition Tentative @@ -32,44 +43,314 @@ Tentative
1.1 First Edition Tentative +
CSS -2.1 -Most part +CSS +CSS 2.1 +Candidate Recommendation +Most parts + +
CSS Color +Level 3 LCWD +Most parts +
Selectors 3
Cache Manifest +HTML5 +Draft Recommendation + + +
WebIDL +Editor's +Draft 1.96 + +
HTTP Tentative (no validation)
+ +

+

DOM

+ +

The current implementation assumes that there are following +requirements:

+
    +
  • The document element (or root element) MUST +be allowed to be a root element. For example, +an html element in http://www.w3.org/1999/xhtml +namespace is allowed to be a root element by the HTML5 +specification.
  • +
-

HTML

+

HTML

+ +

HTML5 is partially implemented.

-

Restrictions:

+

In addition, the current implementation assumes that there are following +requirements:

    -
  • December 2007 content model is not implemented yet.
  • -
  • Form elements are not implemented yet.
  • +
  • Any attribute in the HTML namespace which is not defined by the +HTML5 specification (including Web Forms 2.0 specification) +MUST NOT be used.
  • +
  • For an element in the HTML namespace, any attribute in the null namespace +(or per‐element partition) MUST NOT be used +unless it is allowed by the HTML5 specification (including Web Forms 2.0 +specification).
  • +
  • @@ Forms elements: ... + +
  • For the attribute not defined in HTML5, the following definitions are +applied. + +
    +

    These definitions are updated version of their original definitions + in previous versions of HTML (i.e. HTML 2.x, HTML4, Web Forms 2.0, + or early drafts of HTML5). +

    + +

    For each row in the table below, if an attribute (i.e. an + Attr node) met the following conditions, then the + value attribute value of the node MUST + be valid with regard to the constraints shown in the Value + cell of the row. The conditions are: +

      +
    • There is an owner element (i.e. the Element node + pointed by the ownerElement attribute of the + Attr node). +
    • The namespaceURI attribute value of the owner element + is http://www.w3.org/1999/xhtml. +
    • The manakaiLocalName attribute value [@@ TODO: ref] + of the owner element is equal to the value in the Element cell + of the row. +
    • The namespaceURI attribute value of the Attr + node is null. +
    • The manakaiLocalName attribute value of the + Attr node is equal to the value in the Attribute + cell of the row. +
    + + + + +
    ElementAttribute + Value +
    bodybackground + Syntactically same as img src [HTML5] +
    imglongdesc + Syntactically same as img src [HTML5] + +
    inputaccept-charset + Same as accept-charset attribute of the + form element [HTML5] + +
    input (type attribute is in Image Button + state) + usemap + Syntactically same as img usemap [HTML5] + + +
    objectclassid or codebase + Syntactically same as img src [HTML5] + +
    headprofile + Same as a ping [HTML5] + + +
    objectarchive + Same as a ping [HTML5] + +
    objectcodetype + Same as object type [HTML5] +
    paramtype + Same as object type [HTML5] +
    address, div, h1, + h2, h3, h4, h5, + h6, or p + align + Enumerated attribute [HTML5] + +
    img or objectalign + Enumerated attribute [HTML5] + +
    input (type attribute is in + Image Button state) + align + Enumerated attribute [HTML5], where keywords are: top, + middle, bottom, left, + right + +
    brclear + Enumerated attribute [HTML5] +
    paramvaluetype + Enumerated attribute [HTML5] +
    prewidth + Valid non-negative integer [HTML5] +
    ul, ol, dir, + menu, or dlcompact + Boolean attribute [HTML5] + +
    input (type attribute is in Image + Button state) + ismap + Boolean attribute [HTML5] + +
    tableframe or rules + Enumerated attribute [HTML5] +
    tdscope + Same as scope attribute of the th element + [HTML5] +
    tbody, thead, tfoot, + colgroup, col, tr, td, + or thalign or valign + Enumerated attribute [HTML5] + +
    input (type attribute is in + Image Button or Submit Button state) + replace + Enumerated attribute [HTML5] + +
    linktarget + Valid browsing context name or keyword [HTML5] +
    metaschema + Any string + +
    a or linkrev + Unordered set of unique space-separated tokens [HTML5] + (where any word is allowed) +
    table + cellpadding + A non-negative integer [HTML5] or a non-negative integer + [HTML5] followed by a % character +
    cellspacing +
    a + charset + Same as script charset [HTML5], + syntactically +
    +
  • Any value MAY be specified to the +version attribute of an html element. +
  • @@ elements ... + + + + +
    ElementContent Model + Allowed Context +
    center + Same as div [HTML5] +
+

For an input element whose type attribute +is add, remove, move-up, or +move-down (ASCII case-insensitive) [WF2], +attributes that is not allowed for an input element whose +type attribute is in the Button state MUST NOT be specified. + +

The inputmode attribute applies to an +input element in Text, E-mail, URL, or Password state. The replace attribute applies to an +input element in Image Button or Submit Button state. +The usemap attribute applies to an input +element in Image Button state. The align attribute applies to an +input element in Image Button state. Any of these attributes MUST NOT be +specified for an input element whose type +attribute is in a state where the attribute does not apply. + +

The +cache +manifest syntax is also supported.

-

Atom

+

Atom

+ +

Atom 1.0 and +Atom Threading 1.0 are supported. + +

However, conformance to some SHOULD-level +requirements, as well as some informational guidelines, are currently +not checked. In addition, whether an email-address or a Base64 +encoding is correct or not is not checked either. + +

Use of XML digital signature and encryption is not supported. -

Only a part is implemented.

+

The current implementation assumes that there are following +requirements:

+
    +
  • Elements and attributes in the Atom namespace, as well as attributes +in the null namespace for an element in the Atom namespace, +MUST NOT +be used except for contexts where they are allowed by the Atom +specification.
  • +
  • Inter-element whitespace [HTML5], processing instructions, and +comments MUST be ignored for the purpose of +conformance of the content of an element. +
-

CSS

+

CSS

-

The current implementation assumes that there are following +

CSS @namespace and Selectors Level 3 are fully implemented.

+ +

Most of CSS 2.1 +( Candidate Recommendation) +is implemented. + + +

Most of CSS +Color Module Level 3 ( Last +Call Working Draft) is implemented. + + +

Since the CSS 2.1 +specification is sometimes ambigious or disagree with browsers, +our implementation is tend to copy what browsers do unless +there is strong resaon to do different thing.

+ +

In addition, the current implementation assumes that there are following requirements:

  • The charset parameter of the media @@ -84,7 +365,29 @@ instruction nodes.
-

...

+
+ +
+

Regular expressions

+ +

Regular expression defined in ECMAScript Third Edition Section +15.10.1 is implemented, with the addition of the support for obsolete +octal escape notation commonly supported by Web browsers. + +

To identify ECMAScript regular expressions, the Internet Media Type +text/x-regexp-js +is used. + +

+ +