Skip to content

Commit

Permalink
[e] (0) Other applicable specifications definition.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7659

git-svn-id: http://svn.whatwg.org/webapps@4028 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 29, 2009
1 parent ccf2908 commit b243875
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 29 deletions.
40 changes: 25 additions & 15 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -2295,14 +2295,14 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
allowing only users of specific user agents to access the content in
question.</p>

<p>If markup extensions are needed, they should be done using XML,
with elements or attributes from custom namespaces. If DOM
extensions are needed, the members should be prefixed by
vendor-specific strings to prevent clashes with future versions of
this specification. Extensions must be defined so that the use of
extensions neither contradicts nor causes the non-conformance of
functionality defined in the specification.</p> <!-- thanks to QA
Framework -->
<p>If vendor-specific markup extensions are needed, they should be
done using XML, with elements or attributes from custom
namespaces. If such DOM extensions are needed, the members should be
prefixed by vendor-specific strings to prevent clashes with future
versions of this specification. Extensions must be defined so that
the use of extensions neither contradicts nor causes the
non-conformance of functionality defined in the specification.</p>
<!-- thanks to QA Framework -->

<div class=example>

Expand All @@ -2317,7 +2317,18 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</div>

<p>User agents must treat elements and attributes that they do not
<hr><p>When vendor-neutral extensions to this specification are needed,
either this specification can be updated accordingly, or an
extension specification can be written that overrides the
requirements in this specification. When someone applying this
specification to their activities decides that they will recognise
the requirements of such an extension specification, it becomes an
<dfn id=other-applicable-specifications title="other applicable specifications">applicable
specification</dfn> for the purposes of conformance requirements in
this specification.</p>
<!-- http://www.w3.org/mid/17E341CD-E790-422C-9F9A-69347EE01CEB@iki.fi -->

<hr><p>User agents must treat elements and attributes that they do not
understand as semantically neutral; leaving them in the DOM (for DOM
processors), and styling them according to CSS (for CSS processors),
but not inferring any meaning from them.</p>
Expand Down Expand Up @@ -7385,9 +7396,8 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
<p>Authors must not use elements, attributes, and attribute values
for purposes other than their appropriate intended semantic
purpose. Authors must not use elements, attributes, and attribute
values that are not permitted by this specification or other
applicable specifications.</p>
<!-- http://www.w3.org/mid/17E341CD-E790-422C-9F9A-69347EE01CEB@iki.fi -->
values that are not permitted by this specification or <a href=#other-applicable-specifications>other
applicable specifications</a>.</p>

<div class=example>
<p>For example, the following document is non-conforming, despite
Expand Down Expand Up @@ -7617,7 +7627,7 @@ interface <dfn id=htmlunknownelement>HTMLUnknownElement</dfn> : <a href=#htmlele

<p>The <code><a href=#htmlunknownelement>HTMLUnknownElement</a></code> interface must be used for
<a href=#html-elements>HTML elements</a> that are not defined by this
specification (or other applicable specifications).</p>
specification (or <a href=#other-applicable-specifications>other applicable specifications</a>).</p>

</div>

Expand Down Expand Up @@ -64785,8 +64795,8 @@ document.body.appendChild(text);
given in the given token.</p>

<p>The interface appropriate for an element in the <a href=#html-namespace-0>HTML
namespace</a> that is not defined in this specification (or other
applicable specifications) is
namespace</a> that is not defined in this specification (or
<a href=#other-applicable-specifications>other applicable specifications</a>) is
<code><a href=#htmlunknownelement>HTMLUnknownElement</a></code>. Element in other namespaces whose
interface is not defined by that namespace's specification must use
the interface <code>Element</code>.</p>
Expand Down
42 changes: 28 additions & 14 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -1336,14 +1336,14 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
allowing only users of specific user agents to access the content in
question.</p>

<p>If markup extensions are needed, they should be done using XML,
with elements or attributes from custom namespaces. If DOM
extensions are needed, the members should be prefixed by
vendor-specific strings to prevent clashes with future versions of
this specification. Extensions must be defined so that the use of
extensions neither contradicts nor causes the non-conformance of
functionality defined in the specification.</p> <!-- thanks to QA
Framework -->
<p>If vendor-specific markup extensions are needed, they should be
done using XML, with elements or attributes from custom
namespaces. If such DOM extensions are needed, the members should be
prefixed by vendor-specific strings to prevent clashes with future
versions of this specification. Extensions must be defined so that
the use of extensions neither contradicts nor causes the
non-conformance of functionality defined in the specification.</p>
<!-- thanks to QA Framework -->

<div class="example">

Expand All @@ -1360,6 +1360,21 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</div>

<hr>

<p>When vendor-neutral extensions to this specification are needed,
either this specification can be updated accordingly, or an
extension specification can be written that overrides the
requirements in this specification. When someone applying this
specification to their activities decides that they will recognise
the requirements of such an extension specification, it becomes an
<dfn title="other applicable specifications">applicable
specification</dfn> for the purposes of conformance requirements in
this specification.</p>
<!-- http://www.w3.org/mid/17E341CD-E790-422C-9F9A-69347EE01CEB@iki.fi -->

<hr>

<p>User agents must treat elements and attributes that they do not
understand as semantically neutral; leaving them in the DOM (for DOM
processors), and styling them according to CSS (for CSS processors),
Expand Down Expand Up @@ -7447,9 +7462,8 @@ interface <dfn>HTMLDocument</dfn> {
<p>Authors must not use elements, attributes, and attribute values
for purposes other than their appropriate intended semantic
purpose. Authors must not use elements, attributes, and attribute
values that are not permitted by this specification or other
applicable specifications.</p>
<!-- http://www.w3.org/mid/17E341CD-E790-422C-9F9A-69347EE01CEB@iki.fi -->
values that are not permitted by this specification or <span>other
applicable specifications</span>.</p>

<div class="example">
<p>For example, the following document is non-conforming, despite
Expand Down Expand Up @@ -7679,7 +7693,7 @@ interface <dfn>HTMLUnknownElement</dfn> : <span>HTMLElement</span> { };</pre>

<p>The <code>HTMLUnknownElement</code> interface must be used for
<span>HTML elements</span> that are not defined by this
specification (or other applicable specifications).</p>
specification (or <span>other applicable specifications</span>).</p>

</div>

Expand Down Expand Up @@ -79839,8 +79853,8 @@ document.body.appendChild(text);
given in the given token.</p>

<p>The interface appropriate for an element in the <span>HTML
namespace</span> that is not defined in this specification (or other
applicable specifications) is
namespace</span> that is not defined in this specification (or
<span>other applicable specifications</span>) is
<code>HTMLUnknownElement</code>. Element in other namespaces whose
interface is not defined by that namespace's specification must use
the interface <code>Element</code>.</p>
Expand Down

0 comments on commit b243875

Please sign in to comment.