Skip to content

Commit

Permalink
[giow] (0) Narrow the scope of the xml:base ban to HTML elements. If …
Browse files Browse the repository at this point in the history
…SVG wants to allow them, e.g., that's up to them.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17890
Affected topics: HTML, HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@7267 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 24, 2012
1 parent cc28556 commit 03d5f74
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
12 changes: 9 additions & 3 deletions complete.html
Expand Up @@ -11703,9 +11703,10 @@ <h5 id=the-xml:base-attribute-(xml-only)><span class=secno>3.2.3.5 </span>The <d
defined in XML Base. <a href=#refsXMLBASE>[XMLBASE]</a></p>

<p>The <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code> attribute may be
used on elements of <a href=#xml-documents>XML documents</a>. Authors must not
use the <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code> attribute in
<a href=#html-documents>HTML documents</a>.</p>
used on <a href=#html-elements>HTML elements</a> of <a href=#xml-documents>XML documents</a>.
Authors must not use the <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code>
attribute on <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML
documents</a>.</p>


<h5 id=the-dir-attribute><span class=secno>3.2.3.6 </span>The <dfn title=attr-dir><code>dir</code></dfn> attribute</h5>
Expand Down Expand Up @@ -87607,6 +87608,11 @@ <h5 id=start-tags><span class=secno>12.1.2.1 </span>Start tags</h5>
</table><p>No other namespaced attribute can be expressed in <a href=#syntax>the
HTML syntax</a>.</p>

<p class=note>Whether the attributes in the table above are
conforming or not is defined by other specifications (e.g. the SVG
and MathML specifications); this section only describes the syntax
rules if the attributes are serialised using the HTML syntax.</p>


<h5 id=optional-tags><span class=secno>12.1.2.4 </span>Optional tags</h5>

Expand Down
12 changes: 9 additions & 3 deletions index
Expand Up @@ -11703,9 +11703,10 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre> <!-- DO NOT REWR
defined in XML Base. <a href=#refsXMLBASE>[XMLBASE]</a></p>

<p>The <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code> attribute may be
used on elements of <a href=#xml-documents>XML documents</a>. Authors must not
use the <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code> attribute in
<a href=#html-documents>HTML documents</a>.</p>
used on <a href=#html-elements>HTML elements</a> of <a href=#xml-documents>XML documents</a>.
Authors must not use the <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code>
attribute on <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML
documents</a>.</p>


<h5 id=the-dir-attribute><span class=secno>3.2.3.6 </span>The <dfn title=attr-dir><code>dir</code></dfn> attribute</h5>
Expand Down Expand Up @@ -87607,6 +87608,11 @@ dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>
</table><p>No other namespaced attribute can be expressed in <a href=#syntax>the
HTML syntax</a>.</p>

<p class=note>Whether the attributes in the table above are
conforming or not is defined by other specifications (e.g. the SVG
and MathML specifications); this section only describes the syntax
rules if the attributes are serialised using the HTML syntax.</p>


<h5 id=optional-tags><span class=secno>12.1.2.4 </span>Optional tags</h5>

Expand Down
12 changes: 9 additions & 3 deletions source
Expand Up @@ -12129,9 +12129,10 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre> <!-- DO NOT REWRAP THIS L
defined in XML Base. <a href="#refsXMLBASE">[XMLBASE]</a></p>

<p>The <code title="attr-xml-base">xml:base</code> attribute may be
used on elements of <span>XML documents</span>. Authors must not
use the <code title="attr-xml-base">xml:base</code> attribute in
<span>HTML documents</span>.</p>
used on <span>HTML elements</span> of <span>XML documents</span>.
Authors must not use the <code title="attr-xml-base">xml:base</code>
attribute on <span>HTML elements</span> in <span>HTML
documents</span>.</p>


<h5>The <dfn title="attr-dir"><code>dir</code></dfn> attribute</h5>
Expand Down Expand Up @@ -101802,6 +101803,11 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
<p>No other namespaced attribute can be expressed in <span>the
HTML syntax</span>.</p>

<p class="note">Whether the attributes in the table above are
conforming or not is defined by other specifications (e.g. the SVG
and MathML specifications); this section only describes the syntax
rules if the attributes are serialised using the HTML syntax.</p>


<h5>Optional tags</h5>

Expand Down

0 comments on commit 03d5f74

Please sign in to comment.