Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) reference SVG for the behaviour of document.title on SVGDocument
git-svn-id: http://svn.whatwg.org/webapps@2995 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 27, 2009
1 parent 71aba30 commit dbc3428
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 4 additions & 5 deletions index
Expand Up @@ -39,7 +39,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML 5</h1>
<h2 class="no-num no-toc" id=draft-recommendation-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 26 April 2009</h2>
<h2 class="no-num no-toc" id=draft-recommendation-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 27 April 2009</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<dl><dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -7215,8 +7215,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
element in the "<code title="">http://www.w3.org/2000/svg</code>"
namespace, and the user agent supports SVG, then the getter must
return the value that would have been returned by the DOM attribute
of the same name on the <code>SVGDocument</code>
interface.</li>
of the same name on the <code>SVGDocument</code> interface. <a href=#refsSVG>[SVG]</a></li>

<li><p>Otherwise, it must return a concatenation of the data of all
the child <a href=#text-node title="text node">text nodes</a> of <a href=#the-title-element-0>the
Expand All @@ -7232,7 +7231,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
namespace, and the user agent supports SVG, then the setter must
defer to the setter for the DOM attribute of the same name on the
<code>SVGDocument</code> interface (if it is readonly, then this
will raise an exception). Stop the algorithm here.</li>
will raise an exception). Stop the algorithm here. <a href=#refsSVG>[SVG]</a></li>

<li>If <a href=#the-title-element-0>the <code>title</code> element</a> is null and
<a href=#the-head-element-0>the <code>head</code> element</a> is null, then the
Expand All @@ -7252,7 +7251,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
</ol><p>The <code title=dom-document-title><a href=#document.title>title</a></code> attribute on
the <code><a href=#htmldocument>HTMLDocument</a></code> interface should shadow the attribute
of the same name on the <code>SVGDocument</code> interface when the
user agent supports both HTML and SVG.</p>
user agent supports both HTML and SVG. <a href=#refsSVG>[SVG]</a></p>

</div>

Expand Down
10 changes: 6 additions & 4 deletions source
Expand Up @@ -7373,8 +7373,8 @@ interface <dfn>HTMLDocument</dfn> {
element in the "<code title="">http://www.w3.org/2000/svg</code>"
namespace, and the user agent supports SVG, then the getter must
return the value that would have been returned by the DOM attribute
of the same name on the <code>SVGDocument</code>
interface.</p></li>
of the same name on the <code>SVGDocument</code> interface. <a
href="#refsSVG">[SVG]</a></p></li>

<li><p>Otherwise, it must return a concatenation of the data of all
the child <span title="text node">text nodes</span> of <span>the
Expand All @@ -7394,7 +7394,8 @@ interface <dfn>HTMLDocument</dfn> {
namespace, and the user agent supports SVG, then the setter must
defer to the setter for the DOM attribute of the same name on the
<code>SVGDocument</code> interface (if it is readonly, then this
will raise an exception). Stop the algorithm here.</p></li>
will raise an exception). Stop the algorithm here. <a
href="#refsSVG">[SVG]</a></p></li>

<li>If <span>the <code>title</code> element</span> is null and
<span>the <code>head</code> element</span> is null, then the
Expand All @@ -7416,7 +7417,8 @@ interface <dfn>HTMLDocument</dfn> {
<p>The <code title="dom-document-title">title</code> attribute on
the <code>HTMLDocument</code> interface should shadow the attribute
of the same name on the <code>SVGDocument</code> interface when the
user agent supports both HTML and SVG.</p>
user agent supports both HTML and SVG. <a
href="#refsSVG">[SVG]</a></p>

</div>

Expand Down

0 comments on commit dbc3428

Please sign in to comment.