[html5] r7533 - [e] (0) Clean-up wrapping for next patch to be clearer. Affected topics: HTML
whatwg at whatwg.org
whatwg at whatwg.org
Sat Nov 24 11:30:11 PST 2012
Author: ianh
Date: 2012-11-24 11:30:10 -0800 (Sat, 24 Nov 2012)
New Revision: 7533
Modified:
complete.html
index
source
Log:
[e] (0) Clean-up wrapping for next patch to be clearer.
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2012-11-24 18:47:42 UTC (rev 7532)
+++ complete.html 2012-11-24 19:30:10 UTC (rev 7533)
@@ -99327,8 +99327,7 @@
<h3 id=non-conforming-features><span class=secno>15.2 </span>Non-conforming features</h3>
- <p>Elements in the following list are entirely obsolete, and must
- not be used by authors:</p>
+ <p>Elements in the following list are entirely obsolete, and must not be used by authors:</p>
<dl><!-- alphabetical by first element in the group, except CSS goes last --><dt><code><a href=#the-applet-element>applet</a></code></dt>
<dd><p>Use <code><a href=#the-embed-element>embed</a></code> or <code><a href=#the-object-element>object</a></code> instead.</dd>
@@ -99386,26 +99385,23 @@
<p>Use appropriate elements and/or CSS instead.</p>
- <p>Where the <code><a href=#tt>tt</a></code> element would have been used for
- marking up keyboard input, consider the <code><a href=#the-kbd-element>kbd</a></code> element;
- for variables, consider the <code><a href=#the-var-element>var</a></code> element; for computer
- code, consider the <code><a href=#the-code-element>code</a></code> element; and for computer
- output, consider the <code><a href=#the-samp-element>samp</a></code> element.</p>
+ <p>Where the <code><a href=#tt>tt</a></code> element would have been used for marking up keyboard input,
+ consider the <code><a href=#the-kbd-element>kbd</a></code> element; for variables, consider the <code><a href=#the-var-element>var</a></code> element; for
+ computer code, consider the <code><a href=#the-code-element>code</a></code> element; and for computer output, consider the
+ <code><a href=#the-samp-element>samp</a></code> element.</p>
- <p>Similarly, if the <code><a href=#big>big</a></code> element is being used to
- denote a heading, consider using the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> element; if
- it is being used for marking up important passages, consider the
- <code><a href=#the-strong-element>strong</a></code> element; and if it is being used for
- highlighting text for reference purposes, consider the
- <code><a href=#the-mark-element>mark</a></code> element.</p>
+ <p>Similarly, if the <code><a href=#big>big</a></code> element is being used to denote a heading, consider using
+ the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> element; if it is being used for marking up important passages, consider the
+ <code><a href=#the-strong-element>strong</a></code> element; and if it is being used for highlighting text for reference
+ purposes, consider the <code><a href=#the-mark-element>mark</a></code> element.</p>
- <p>See also the <a href=#usage-summary>text-level semantics
- usage summary</a> for more suggestions with examples.</p>
+ <p>See also the <a href=#usage-summary>text-level semantics usage summary</a> for more
+ suggestions with examples.</p>
</dd>
- </dl><hr><p>The following attributes are obsolete (though the elements are
- still part of the language), and must not be used by authors:</p>
+ </dl><hr><p>The following attributes are obsolete (though the elements are still part of the language), and
+ must not be used by authors:</p>
<dl><!-- alphabetical by element then attribute of first item in group, except CSS goes last --><dt><dfn id=attr-a-charset title=attr-a-charset><code>charset</code></dfn> on <code><a href=#the-a-element>a</a></code> elements</dt>
<dt><dfn id=attr-link-charset title=attr-link-charset><code>charset</code></dfn> on <code><a href=#the-link-element>link</a></code> elements</dt>
@@ -99612,53 +99608,43 @@
<h4 id=the-applet-element><span class=secno>15.3.1 </span>The <dfn><code>applet</code></dfn> element</h4>
- <p>The <code><a href=#the-applet-element>applet</a></code> element is a Java-specific variant of the
- <code><a href=#the-embed-element>embed</a></code> element. The <code><a href=#the-applet-element>applet</a></code> element is now
- obsoleted so that all extension frameworks (Java, .NET, Flash, etc)
- are handled in a consistent manner.</p>
+ <p>The <code><a href=#the-applet-element>applet</a></code> element is a Java-specific variant of the <code><a href=#the-embed-element>embed</a></code> element.
+ The <code><a href=#the-applet-element>applet</a></code> element is now obsoleted so that all extension frameworks (Java, .NET,
+ Flash, etc) are handled in a consistent manner.</p>
- <p id=sandboxPluginApplet>When the element is still in the
- <a href=#stack-of-open-elements>stack of open elements</a> of an <a href=#html-parser>HTML parser</a>
- or <a href=#xml-parser>XML parser</a>, and when the element is not <a href=#in-a-document>in a
- <code>Document</code></a>, and when the element's document is not
- <a href=#fully-active>fully active</a>, and when the element's
- <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> has
- its <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins browsing context flag</a> set, and
- when the element has an ancestor <a href=#media-element>media element</a>, and
- when the element has an ancestor <code><a href=#the-object-element>object</a></code> element that is
- <em>not</em> showing its <a href=#fallback-content>fallback content</a>, and when no
- Java Language runtime <a href=#plugin>plugin</a> is available, and when one
- <em>is</em> available but it is disabled, the element
- <a href=#represents>represents</a> its contents.</p>
+ <p id=sandboxPluginApplet>When the element is still in the <a href=#stack-of-open-elements>stack of open elements</a>
+ of an <a href=#html-parser>HTML parser</a> or <a href=#xml-parser>XML parser</a>, and when the element is not <a href=#in-a-document>in a
+ <code>Document</code></a>, and when the element's document is not <a href=#fully-active>fully active</a>,
+ and when the element's <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> has its
+ <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins browsing context flag</a> set, and when the element has an ancestor
+ <a href=#media-element>media element</a>, and when the element has an ancestor <code><a href=#the-object-element>object</a></code> element that
+ is <em>not</em> showing its <a href=#fallback-content>fallback content</a>, and when no Java Language runtime
+ <a href=#plugin>plugin</a> is available, and when one <em>is</em> available but it is disabled, the
+ element <a href=#represents>represents</a> its contents.</p>
<!-- we assume here that the Java plugin can't be <span
- title="concept-plugin-secure">secured</span>; if anyone does end up
- securing one we can always change this -->
+ title="concept-plugin-secure">secured</span>; if anyone does end up securing one we can always
+ change this -->
- <p>Otherwise, the user agent should instantiate a Java Language
- runtime <a href=#plugin>plugin</a>, and should pass the names and values of
- all the attributes on the element, in the order they were added to
- the element, with the attributes added by the parser being ordered
- in source order, and then a parameter named "PARAM" whose value is
- null, and then all the names and values of <a href=#concept-param-parameter title=concept-param-parameter>parameters</a> given by
- <code><a href=#the-param-element>param</a></code> elements that are children of the
- <code><a href=#the-applet-element>applet</a></code> element, in <a href=#tree-order>tree order</a>, to the
- <a href=#plugin>plugin</a> used. If the <a href=#plugin>plugin</a> supports a
- scriptable interface, the <code><a href=#htmlappletelement>HTMLAppletElement</a></code> object
- representing the element should expose that interface. The
- <code><a href=#the-applet-element>applet</a></code> element <a href=#represents>represents</a> the
- <a href=#plugin>plugin</a>.</p>
+ <p>Otherwise, the user agent should instantiate a Java Language runtime <a href=#plugin>plugin</a>, and
+ should pass the names and values of all the attributes on the element, in the order they were
+ added to the element, with the attributes added by the parser being ordered in source order, and
+ then a parameter named "PARAM" whose value is null, and then all the names and values of <a href=#concept-param-parameter title=concept-param-parameter>parameters</a> given by <code><a href=#the-param-element>param</a></code> elements that are
+ children of the <code><a href=#the-applet-element>applet</a></code> element, in <a href=#tree-order>tree order</a>, to the
+ <a href=#plugin>plugin</a> used. If the <a href=#plugin>plugin</a> supports a scriptable interface, the
+ <code><a href=#htmlappletelement>HTMLAppletElement</a></code> object representing the element should expose that interface. The
+ <code><a href=#the-applet-element>applet</a></code> element <a href=#represents>represents</a> the <a href=#plugin>plugin</a>.</p>
- <!-- If we ever make this fetch anything manually, remember to delay
- the load event, and to include ", from the element's <span>browsing
- context scope origin</span> if it has one" when fetching -->
+ <!-- If we ever make this fetch anything manually, remember to delay the load event, and to
+ include ", from the element's <span>browsing context scope origin</span> if it has one" when
+ fetching -->
- <p class=note>The <code><a href=#the-applet-element>applet</a></code> element is unaffected by the
- CSS 'display' property. The Java Language runtime is instantiated
- even if the element is hidden with a 'display:none' CSS style.</p>
+ <p class=note>The <code><a href=#the-applet-element>applet</a></code> element is unaffected by the CSS 'display' property. The
+ Java Language runtime is instantiated even if the element is hidden with a 'display:none' CSS
+ style.</p>
- <p>The <code><a href=#the-applet-element>applet</a></code> element must implement the
- <code><a href=#htmlappletelement>HTMLAppletElement</a></code> interface.</p>
+ <p>The <code><a href=#the-applet-element>applet</a></code> element must implement the <code><a href=#htmlappletelement>HTMLAppletElement</a></code>
+ interface.</p>
<pre class=idl>interface <dfn id=htmlappletelement>HTMLAppletElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-applet-align title=dom-applet-align>align</a>;
@@ -99674,30 +99660,26 @@
attribute DOMString <a href=#dom-applet-width title=dom-applet-width>width</a>;
};</pre>
- <p>The <dfn id=dom-applet-align title=dom-applet-align><code>align</code></dfn>, <dfn id=dom-applet-alt title=dom-applet-alt><code>alt</code></dfn>, <dfn id=dom-applet-archive title=dom-applet-archive><code>archive</code></dfn>, <dfn id=dom-applet-code title=dom-applet-code><code>code</code></dfn>, <dfn id=dom-applet-height title=dom-applet-height><code>height</code></dfn>, <dfn id=dom-applet-hspace title=dom-applet-hspace><code>hspace</code></dfn>, <dfn id=dom-applet-name title=dom-applet-name><code>name</code></dfn>, <dfn id=dom-applet-object title=dom-applet-object><code>object</code></dfn>, <dfn id=dom-applet-vspace title=dom-applet-vspace><code>vspace</code></dfn>, and <dfn id=dom-applet-width title=dom-applet-width><code>width</code></dfn> IDL attributes
- must <a href=#reflect>reflect</a> the respective content attributes of the
- same name. For the purposes of reflection, the <code><a href=#the-applet-element>applet</a></code>
- element's <code title=attr-applet-object>object</code> content
- attribute is defined as containing a <a href=#url>URL</a>.</p>
+ <p>The <dfn id=dom-applet-align title=dom-applet-align><code>align</code></dfn>, <dfn id=dom-applet-alt title=dom-applet-alt><code>alt</code></dfn>, <dfn id=dom-applet-archive title=dom-applet-archive><code>archive</code></dfn>, <dfn id=dom-applet-code title=dom-applet-code><code>code</code></dfn>, <dfn id=dom-applet-height title=dom-applet-height><code>height</code></dfn>, <dfn id=dom-applet-hspace title=dom-applet-hspace><code>hspace</code></dfn>, <dfn id=dom-applet-name title=dom-applet-name><code>name</code></dfn>, <dfn id=dom-applet-object title=dom-applet-object><code>object</code></dfn>, <dfn id=dom-applet-vspace title=dom-applet-vspace><code>vspace</code></dfn>, and <dfn id=dom-applet-width title=dom-applet-width><code>width</code></dfn> IDL attributes must <a href=#reflect>reflect</a> the
+ respective content attributes of the same name. For the purposes of reflection, the
+ <code><a href=#the-applet-element>applet</a></code> element's <code title=attr-applet-object>object</code> content attribute is
+ defined as containing a <a href=#url>URL</a>.</p>
- <p>The <dfn id=dom-applet-codebase title=dom-applet-codeBase><code>codeBase</code></dfn>
- IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-applet-codebase>codebase</code> content attribute,
- which for the purposes of reflection is defined as containing a
- <a href=#url>URL</a>.</p>
+ <p>The <dfn id=dom-applet-codebase title=dom-applet-codeBase><code>codeBase</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-applet-codebase>codebase</code> content attribute,
+ which for the purposes of reflection is defined as containing a <a href=#url>URL</a>.</p>
<h4 id=the-marquee-element><span class=secno>15.3.2 </span>The <dfn><code>marquee</code></dfn> element</h4>
<p>The <code><a href=#the-marquee-element>marquee</a></code> element is a presentational element that animates content. CSS
- transitions and animations are a more appropriate mechanism.
- <a href=#refsCSSANIMATIONS>[CSSANIMATIONS]</a> <a href=#refsCSSTRANSITIONS>[CSSTRANSITIONS]</a>
- </p>
+ transitions and animations are a more appropriate mechanism. <a href=#refsCSSANIMATIONS>[CSSANIMATIONS]</a> <a href=#refsCSSTRANSITIONS>[CSSTRANSITIONS]</a></p>
- <p>The <a href=#task-source>task source</a> for tasks mentioned in this section
- is the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+ <p>The <a href=#task-source>task source</a> for tasks mentioned in this section is the <a href=#dom-manipulation-task-source>DOM manipulation
+ task source</a>.</p>
- <p>The <code><a href=#the-marquee-element>marquee</a></code> element must implement the
- <code><a href=#htmlmarqueeelement>HTMLMarqueeElement</a></code> interface.</p>
+ <p>The <code><a href=#the-marquee-element>marquee</a></code> element must implement the <code><a href=#htmlmarqueeelement>HTMLMarqueeElement</a></code>
+ interface.</p>
<pre class=idl>interface <dfn id=htmlmarqueeelement>HTMLMarqueeElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-marquee-behavior title=dom-marquee-behavior>behavior</a>;
@@ -99720,23 +99702,21 @@
void <a href=#dom-marquee-stop title=dom-marquee-stop>stop</a>();
};</pre>
- <p>A <code><a href=#the-marquee-element>marquee</a></code> element can be <dfn id=concept-marquee-on title=concept-marquee-on>turned on</dfn> or <dfn id=concept-marquee-off title=concept-marquee-off>turned off</dfn>. When it is created, it
- is <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
+ <p>A <code><a href=#the-marquee-element>marquee</a></code> element can be <dfn id=concept-marquee-on title=concept-marquee-on>turned on</dfn> or <dfn id=concept-marquee-off title=concept-marquee-off>turned off</dfn>. When it is created, it is <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
- <p>When the <dfn id=dom-marquee-start title=dom-marquee-start><code>start()</code></dfn> method is
- called, the <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
+ <p>When the <dfn id=dom-marquee-start title=dom-marquee-start><code>start()</code></dfn> method is called, the
+ <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
- <p>When the <dfn id=dom-marquee-stop title=dom-marquee-stop><code>stop()</code></dfn>
- method is called, the <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-off title=concept-marquee-off>turned off</a>.</p>
+ <p>When the <dfn id=dom-marquee-stop title=dom-marquee-stop><code>stop()</code></dfn> method is called, the
+ <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-off title=concept-marquee-off>turned off</a>.</p>
- <p>When a <code><a href=#the-marquee-element>marquee</a></code> element is created, the user agent
- must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
- named <code title=event-start>start</code> at the element.</p>
+ <p>When a <code><a href=#the-marquee-element>marquee</a></code> element is created, the user agent must <a href=#queue-a-task>queue a task</a>
+ to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-start>start</code> at the
+ element.</p>
- <hr><p>The <dfn id=attr-marquee-behavior title=attr-marquee-behavior><code>behavior</code></dfn> content
- attribute on <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated
- attribute</a> with the following keywords (all
- non-conforming):</p>
+ <hr><p>The <dfn id=attr-marquee-behavior title=attr-marquee-behavior><code>behavior</code></dfn> content attribute on
+ <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated attribute</a> with the following keywords
+ (all non-conforming):</p>
<table><thead><tr><th>Keyword
<th>State
@@ -99748,10 +99728,9 @@
<td><dfn id=attr-marquee-behavior-alternate title=attr-marquee-behavior-alternate>alternate</dfn>
</table><p>The <i>missing value default</i> is the <a href=#attr-marquee-behavior-scroll title=attr-marquee-behavior-scroll>scroll</a> state.</p>
- <hr><p>The <dfn id=attr-marquee-direction title=attr-marquee-direction><code>direction</code></dfn> content
- attribute on <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated
- attribute</a> with the following keywords (all
- non-conforming):</p>
+ <hr><p>The <dfn id=attr-marquee-direction title=attr-marquee-direction><code>direction</code></dfn> content attribute on
+ <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated attribute</a> with the following keywords
+ (all non-conforming):</p>
<table><thead><tr><th>Keyword
<th>State
@@ -99763,114 +99742,102 @@
<td><dfn id=attr-marquee-direction-up title=attr-marquee-direction-up>up</dfn>
<tr><td><code title="">down</code>
<td><dfn id=attr-marquee-direction-down title=attr-marquee-direction-down>down</dfn>
- </table><p>The <i>missing value default</i> is the <a href=#attr-marquee-direction-left title=attr-marquee-direction-left>left</a> state.</p>
+ </table><p>The <i>missing value default</i> is the <a href=#attr-marquee-direction-left title=attr-marquee-direction-left>left</a>
+ state.</p>
- <hr><p>The <dfn id=attr-marquee-truespeed title=attr-marquee-truespeed><code>truespeed</code></dfn> content
- attribute on <code><a href=#the-marquee-element>marquee</a></code> elements is a <a href=#boolean-attribute>boolean
- attribute</a>.</p>
+ <hr><p>The <dfn id=attr-marquee-truespeed title=attr-marquee-truespeed><code>truespeed</code></dfn> content attribute on
+ <code><a href=#the-marquee-element>marquee</a></code> elements is a <a href=#boolean-attribute>boolean attribute</a>.</p>
- <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-interval>marquee scroll
- interval</dfn>, which is obtained as follows:</p>
+ <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-interval>marquee scroll interval</dfn>, which is obtained as
+ follows:</p>
- <ol><li><p>If the element has a <code title=attr-marquee-scrolldelay>scrolldelay</code> attribute, and
- parsing its value using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative
- integers</a> does not return an error, then let <var title="">delay</var> be the parsed value. Otherwise, let <var title="">delay</var> be 85.</li>
+ <ol><li><p>If the element has a <code title=attr-marquee-scrolldelay>scrolldelay</code> attribute,
+ and parsing its value using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a> does not
+ return an error, then let <var title="">delay</var> be the parsed value. Otherwise, let <var title="">delay</var> be 85.</li>
- <li><p>If the element does not have a <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code> attribute, and the
- <var title="">delay</var> value is less than 60, then let <var title="">delay</var> be 60 instead.</li>
+ <li><p>If the element does not have a <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code>
+ attribute, and the <var title="">delay</var> value is less than 60, then let <var title="">delay</var> be 60 instead.</li>
- <li><p>The <a href=#marquee-scroll-interval>marquee scroll interval</a> is <var title="">delay</var>, interpreted in milliseconds.</li>
+ <li><p>The <a href=#marquee-scroll-interval>marquee scroll interval</a> is <var title="">delay</var>, interpreted in
+ milliseconds.</li>
- </ol><hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-distance>marquee scroll
- distance</dfn>, which, if the element has a <code title=attr-marquee-scrollamount>scrollamount</code> attribute, and
- parsing its value using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative
- integers</a> does not return an error, is the parsed value
- interpreted in CSS pixels, and otherwise is 6 CSS pixels.</p>
+ </ol><hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-distance>marquee scroll distance</dfn>, which, if the element
+ has a <code title=attr-marquee-scrollamount>scrollamount</code> attribute, and parsing its value
+ using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a> does not return an error, is the
+ parsed value interpreted in CSS pixels, and otherwise is 6 CSS pixels.</p>
- <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-loop-count>marquee loop
- count</dfn>, which, if the element has a <code title=attr-marquee-loop>loop</code> attribute, and parsing its
- value using the <a href=#rules-for-parsing-integers>rules for parsing integers</a> does not
- return an error or a number less than 1, is the parsed value, and
- otherwise is −1.</p>
+ <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-loop-count>marquee loop count</dfn>, which, if the element has a
+ <code title=attr-marquee-loop>loop</code> attribute, and parsing its value using the <a href=#rules-for-parsing-integers>rules
+ for parsing integers</a> does not return an error or a number less than 1, is the parsed value,
+ and otherwise is −1.</p>
- <p>The <dfn id=dom-marquee-loop title=dom-marquee-loop><code>loop</code></dfn> IDL
- attribute, on getting, must return the element's <a href=#marquee-loop-count>marquee loop
- count</a>; and on setting, if the new value is different than the
- element's <a href=#marquee-loop-count>marquee loop count</a> and either greater than
- zero or equal to −1, must set the element's <code title=attr-marquee-loop>loop</code> content attribute (adding it
- if necessary) to the <a href=#valid-integer>valid integer</a> that represents the
- new value. (Other values are ignored.)</p>
+ <p>The <dfn id=dom-marquee-loop title=dom-marquee-loop><code>loop</code></dfn> IDL attribute, on getting, must
+ return the element's <a href=#marquee-loop-count>marquee loop count</a>; and on setting, if the new value is
+ different than the element's <a href=#marquee-loop-count>marquee loop count</a> and either greater than zero or equal
+ to −1, must set the element's <code title=attr-marquee-loop>loop</code> content attribute
+ (adding it if necessary) to the <a href=#valid-integer>valid integer</a> that represents the new value. (Other
+ values are ignored.)</p>
- <p>A <code><a href=#the-marquee-element>marquee</a></code> element also has a <dfn id=marquee-current-loop-index>marquee current
- loop index</dfn>, which is zero when the element is created.</p>
+ <p>A <code><a href=#the-marquee-element>marquee</a></code> element also has a <dfn id=marquee-current-loop-index>marquee current loop index</dfn>, which is zero
+ when the element is created.</p>
- <p>The rendering layer will occasionally <dfn id=increment-the-marquee-current-loop-index>increment the marquee
- current loop index</dfn>, which must cause the following steps to be
- run:</p>
+ <p>The rendering layer will occasionally <dfn id=increment-the-marquee-current-loop-index>increment the marquee current loop index</dfn>,
+ which must cause the following steps to be run:</p>
- <ol><li><p>If the <a href=#marquee-loop-count>marquee loop count</a> is −1, then
- abort these steps.</p>
+ <ol><li><p>If the <a href=#marquee-loop-count>marquee loop count</a> is −1, then abort these steps.</p>
- <li><p>Increment the <a href=#marquee-current-loop-index>marquee current loop index</a> by
- one.</li>
+ <li><p>Increment the <a href=#marquee-current-loop-index>marquee current loop index</a> by one.</li>
<li>
- <p>If the <a href=#marquee-current-loop-index>marquee current loop index</a> is now equal to
- or greater than the element's <a href=#marquee-loop-count>marquee loop count</a>,
- <a href=#concept-marquee-off title=concept-marquee-off>turn off</a> the
- <code><a href=#the-marquee-element>marquee</a></code> element and <a href=#queue-a-task>queue a task</a> to
- <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-finish>finish</code> at the <code><a href=#the-marquee-element>marquee</a></code>
- element.</p>
+ <p>If the <a href=#marquee-current-loop-index>marquee current loop index</a> is now equal to or greater than the element's
+ <a href=#marquee-loop-count>marquee loop count</a>, <a href=#concept-marquee-off title=concept-marquee-off>turn off</a> the
+ <code><a href=#the-marquee-element>marquee</a></code> element and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
+ named <code title=event-finish>finish</code> at the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
<p>Otherwise, if the <code title=attr-marquee-behavior><a href=#attr-marquee-behavior>behavior</a></code> attribute is in the
- <a href=#attr-marquee-behavior-alternate title=attr-marquee-behavior-alternate>alternate</a>
- state, then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
- event</a> named <code title=event-bounce>bounce</code> at
- the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
+ <a href=#attr-marquee-behavior-alternate title=attr-marquee-behavior-alternate>alternate</a> state, then <a href=#queue-a-task>queue a
+ task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-bounce>bounce</code>
+ at the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
- <p>Otherwise, <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
- event</a> named <code title=event-start>start</code> at the
- <code><a href=#the-marquee-element>marquee</a></code> element.</p>
+ <p>Otherwise, <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-start>start</code> at the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
</li>
- </ol><hr><p>The following are the <a href=#event-handlers>event handlers</a> (and their
- corresponding <a href=#event-handler-event-type title="event handler event type">event handler
- event types</a>) that must be supported, as content and IDL
+ </ol><hr><p>The following are the <a href=#event-handlers>event handlers</a> (and their corresponding <a href=#event-handler-event-type title="event
+ handler event type">event handler event types</a>) that must be supported, as content and IDL
attributes, by <code><a href=#the-marquee-element>marquee</a></code> elements:</p>
<table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
<tbody><tr><td><dfn id=handler-marquee-onbounce title=handler-marquee-onbounce><code>onbounce</code></dfn> <td> <code title=event-bounce>bounce</code>
<tr><td><dfn id=handler-marquee-onfinish title=handler-marquee-onfinish><code>onfinish</code></dfn> <td> <code title=event-finish>finish</code>
<tr><td><dfn id=handler-marquee-onstart title=handler-marquee-onstart><code>onstart</code></dfn> <td> <code title=event-start>start</code>
- </table><hr><p>The <dfn id=dom-marquee-behavior title=dom-marquee-behavior><code>behavior</code></dfn>, <dfn id=dom-marquee-direction title=dom-marquee-direction><code>direction</code></dfn>, <dfn id=dom-marquee-height title=dom-marquee-height><code>height</code></dfn>, <dfn id=dom-marquee-hspace title=dom-marquee-hspace><code>hspace</code></dfn>, <dfn id=dom-marquee-vspace title=dom-marquee-vspace><code>vspace</code></dfn>, and <dfn id=dom-marquee-width title=dom-marquee-width><code>width</code></dfn> IDL attributes
- must <a href=#reflect>reflect</a> the respective content attributes of the
- same name.</p>
+ </table><hr><p>The <dfn id=dom-marquee-behavior title=dom-marquee-behavior><code>behavior</code></dfn>, <dfn id=dom-marquee-direction title=dom-marquee-direction><code>direction</code></dfn>, <dfn id=dom-marquee-height title=dom-marquee-height><code>height</code></dfn>, <dfn id=dom-marquee-hspace title=dom-marquee-hspace><code>hspace</code></dfn>, <dfn id=dom-marquee-vspace title=dom-marquee-vspace><code>vspace</code></dfn>, and <dfn id=dom-marquee-width title=dom-marquee-width><code>width</code></dfn> IDL attributes must <a href=#reflect>reflect</a> the
+ respective content attributes of the same name.</p>
- <p>The <dfn id=dom-marquee-bgcolor title=dom-marquee-bgColor><code>bgColor</code></dfn>
- IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-bgcolor>bgcolor</code> content attribute.</p>
+ <p>The <dfn id=dom-marquee-bgcolor title=dom-marquee-bgColor><code>bgColor</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-bgcolor>bgcolor</code> content attribute.</p>
- <p>The <dfn id=dom-marquee-scrollamount title=dom-marquee-scrollAmount><code>scrollAmount</code></dfn>
- IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-scrollamount>scrollamount</code> content
+ <p>The <dfn id=dom-marquee-scrollamount title=dom-marquee-scrollAmount><code>scrollAmount</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-scrollamount>scrollamount</code> content
attribute. The default value is 6.</p>
- <p>The <dfn id=dom-marquee-scrolldelay title=dom-marquee-scrollDelay><code>scrollDelay</code></dfn> IDL
- attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-scrolldelay>scrolldelay</code> content
+ <p>The <dfn id=dom-marquee-scrolldelay title=dom-marquee-scrollDelay><code>scrollDelay</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-scrolldelay>scrolldelay</code> content
attribute. The default value is 85.</p>
- <p>The <dfn id=dom-marquee-truespeed title=dom-marquee-trueSpeed><code>trueSpeed</code></dfn> IDL
- attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code> content
+ <p>The <dfn id=dom-marquee-truespeed title=dom-marquee-trueSpeed><code>trueSpeed</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code> content
attribute.</p>
<h4 id=frames><span class=secno>15.3.3 </span>Frames</h4>
- <p>The <dfn id=frameset><code>frameset</code></dfn> element acts as <a href=#the-body-element-0>the
- body element</a> in documents that use frames.</p>
+ <p>The <dfn id=frameset><code>frameset</code></dfn> element acts as <a href=#the-body-element-0>the body element</a> in documents
+ that use frames.</p>
- <p>The <code><a href=#frameset>frameset</a></code> element must implement the
- <code><a href=#htmlframesetelement>HTMLFrameSetElement</a></code> interface.</p>
+ <p>The <code><a href=#frameset>frameset</a></code> element must implement the <code><a href=#htmlframesetelement>HTMLFrameSetElement</a></code>
+ interface.</p>
<pre class=idl>interface <dfn id=htmlframesetelement>HTMLFrameSetElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-frameset-cols title=dom-frameset-cols>cols</a>;
@@ -99895,15 +99862,11 @@
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
};</pre>
- <p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and
- <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL
- attributes of the <code><a href=#frameset>frameset</a></code> element must
- <a href=#reflect>reflect</a> the respective content attributes of the same
- name.</p>
+ <p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL attributes of the <code><a href=#frameset>frameset</a></code>
+ element must <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>
- <p>The <code><a href=#frameset>frameset</a></code> element must support the following
- <a href=#event-handler-content-attributes>event handler content attributes</a> exposing the
- <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object:</p>
+ <p>The <code><a href=#frameset>frameset</a></code> element must support the following <a href=#event-handler-content-attributes>event handler content
+ attributes</a> exposing the <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object:</p>
<ul class=brief><li><code title=handler-window-onafterprint><a href=#handler-window-onafterprint>onafterprint</a></code></li>
<li><code title=handler-window-onbeforeprint><a href=#handler-window-onbeforeprint>onbeforeprint</a></code></li>
@@ -99923,57 +99886,47 @@
<li><code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code></li>
<li><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></li>
<li><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></li>
- </ul><p>The DOM interface also exposes <a href=#event-handler-idl-attributes>event handler IDL
- attributes</a> that mirror those on the <code><a href=#window>Window</a></code>
- element.</p>
+ </ul><p>The DOM interface also exposes <a href=#event-handler-idl-attributes>event handler IDL attributes</a> that mirror those on
+ the <code><a href=#window>Window</a></code> element.</p>
- <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>, and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handler-idl-attributes>event handler
- IDL attributes</a> of the <code><a href=#window>Window</a></code> object, exposed on
- the <code><a href=#frameset>frameset</a></code> element, shadow the generic <a href=#event-handler-idl-attributes>event
- handler IDL attributes</a> with the same names normally supported
- by <a href=#html-elements>HTML elements</a>.</p>
+ <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>,
+ and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handler-idl-attributes>event handler IDL
+ attributes</a> of the <code><a href=#window>Window</a></code> object, exposed on the <code><a href=#frameset>frameset</a></code> element,
+ shadow the generic <a href=#event-handler-idl-attributes>event handler IDL attributes</a> with the same names normally
+ supported by <a href=#html-elements>HTML elements</a>.</p>
- <hr><p>The <dfn id=frame><code>frame</code></dfn> element defines a <a href=#nested-browsing-context>nested
- browsing context</a> similar to the <code><a href=#the-iframe-element>iframe</a></code> element,
- but rendered within a <code><a href=#frameset>frameset</a></code> element.</p>
+ <hr><p>The <dfn id=frame><code>frame</code></dfn> element defines a <a href=#nested-browsing-context>nested browsing context</a>
+ similar to the <code><a href=#the-iframe-element>iframe</a></code> element, but rendered within a <code><a href=#frameset>frameset</a></code>
+ element.</p>
<!-- START of section that's very similar to <iframe> -->
- <p>A <code><a href=#frame>frame</a></code> element is said to be an <dfn id=active-frame-element>active
- <code>frame</code> element</dfn> when it is <a href=#in-a-document>in a
- <code>Document</code></a> and its <span>parent element</span>, if
- any, is a <code><a href=#frameset>frameset</a></code> element.</p>
+ <p>A <code><a href=#frame>frame</a></code> element is said to be an <dfn id=active-frame-element>active <code>frame</code> element</dfn> when
+ it is <a href=#in-a-document>in a <code>Document</code></a> and its <span>parent element</span>, if any, is a
+ <code><a href=#frameset>frameset</a></code> element.</p>
- <p>When a <code><a href=#frame>frame</a></code> element is created as an <a href=#active-frame-element>active
- <code>frame</code> element</a>, or becomes an <a href=#active-frame-element>active
- <code>frame</code> element</a> after not having been one, the
- user agent must create a <a href=#nested-browsing-context>nested browsing context</a>, and
- then <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a> for the
- first time.</p>
+ <p>When a <code><a href=#frame>frame</a></code> element is created as an <a href=#active-frame-element>active <code>frame</code>
+ element</a>, or becomes an <a href=#active-frame-element>active <code>frame</code> element</a> after not having been
+ one, the user agent must create a <a href=#nested-browsing-context>nested browsing context</a>, and then <a href=#process-the-frame-attributes>process the
+ <code>frame</code> attributes</a> for the first time.</p>
- <p>When a <code><a href=#frame>frame</a></code> element stops being an <a href=#active-frame-element>active
- <code>frame</code> element</a>, the user agent must <a href=#a-browsing-context-is-discarded title="a browsing context is discarded">discard</a> the
- <a href=#nested-browsing-context>nested browsing context</a>.</p>
+ <p>When a <code><a href=#frame>frame</a></code> element stops being an <a href=#active-frame-element>active <code>frame</code>
+ element</a>, the user agent must <a href=#a-browsing-context-is-discarded title="a browsing context is discarded">discard</a>
+ the <a href=#nested-browsing-context>nested browsing context</a>.</p>
- <p>Whenever a <code><a href=#frame>frame</a></code> element with a <a href=#nested-browsing-context>nested
- browsing context</a> has its <code title=attr-frame-src>src</code> attribute set, changed, or
- removed, the user agent must <a href=#process-the-frame-attributes>process the <code>frame</code>
- attributes</a>.</p> <!-- It doesn't happen when the base URL is
- changed, though. -->
+ <p>Whenever a <code><a href=#frame>frame</a></code> element with a <a href=#nested-browsing-context>nested browsing context</a> has its <code title=attr-frame-src>src</code> attribute set, changed, or removed, the user agent must
+ <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a>.</p> <!-- It doesn't happen when the base
+ URL is changed, though. -->
- <p>When the user agent is to <dfn id=process-the-frame-attributes>process the <code>frame</code>
- attributes</dfn>, it must run the first appropriate steps from the
- following list:</p>
+ <p>When the user agent is to <dfn id=process-the-frame-attributes>process the <code>frame</code> attributes</dfn>, it must run the
+ first appropriate steps from the following list:</p>
<dl class=switch><dt>If the element has no <code title=attr-frame-src>src</code> attribute specified, and the
- user agent is processing the <code><a href=#frame>frame</a></code>'s attributes for
- the first time</dt>
+ user agent is processing the <code><a href=#frame>frame</a></code>'s attributes for the first time</dt>
<dd>
- <p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
- named <code title=event-load>load</code> at the
- <code><a href=#frame>frame</a></code> element.</p>
+ <p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the <code><a href=#frame>frame</a></code> element.</p>
</dd>
@@ -99983,82 +99936,68 @@
<ol><li>
- <p>If the value of the <code title=attr-frame-src>src</code>
- attribute is the empty string, let <var title="">url</var> be
- the string "<code><a href=#about:blank>about:blank</a></code>".</p>
+ <p>If the value of the <code title=attr-frame-src>src</code> attribute is the empty string,
+ let <var title="">url</var> be the string "<code><a href=#about:blank>about:blank</a></code>".</p>
- <p>Otherwise, <a href=#resolve-a-url title="resolve a url">resolve</a> the
- value of the <code title=attr-frame-src>src</code> attribute,
- relative to the <code><a href=#frame>frame</a></code> element.</p>
+ <p>Otherwise, <a href=#resolve-a-url title="resolve a url">resolve</a> the value of the <code title=attr-frame-src>src</code> attribute, relative to the <code><a href=#frame>frame</a></code> element.</p>
- <p>If that is not successful, then let <var title="">url</var>
- be the string "<code><a href=#about:blank>about:blank</a></code>". Otherwise, let <var title="">url</var> be the resulting <a href=#absolute-url>absolute
- URL</a>.</p>
+ <p>If that is not successful, then let <var title="">url</var> be the string
+ "<code><a href=#about:blank>about:blank</a></code>". Otherwise, let <var title="">url</var> be the resulting
+ <a href=#absolute-url>absolute URL</a>.</p>
</li>
<li>
- <p><a href=#navigate>Navigate</a><!--DONAV frame--> the element's
- <a href=#child-browsing-context>child browsing context</a> to <var title="">url</var>.</p>
+ <p><a href=#navigate>Navigate</a><!--DONAV frame--> the element's <a href=#child-browsing-context>child browsing context</a>
+ to <var title="">url</var>.</p>
</li>
</ol></dd>
- </dl><p>Any <a href=#navigate title=navigate>navigation</a> required of the user
- agent in the <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a>
- algorithm must be completed as an <a href=#explicit-self-navigation-override>explicit self-navigation
- override</a> and with the <code><a href=#frame>frame</a></code> element's
- document's <a href=#browsing-context>browsing context</a> as the <a href=#source-browsing-context>source
- browsing context</a>.</p>
+ </dl><p>Any <a href=#navigate title=navigate>navigation</a> required of the user agent in the <a href=#process-the-frame-attributes>process
+ the <code>frame</code> attributes</a> algorithm must be completed as an <a href=#explicit-self-navigation-override>explicit
+ self-navigation override</a> and with the <code><a href=#frame>frame</a></code> element's document's
+ <a href=#browsing-context>browsing context</a> as the <a href=#source-browsing-context>source browsing context</a>.</p>
- <p>Furthermore, if the <a href=#active-document>active document</a> of the element's
- <a href=#child-browsing-context>child browsing context</a> before such a <a href=#navigate title=navigate>navigation</a> was not <a href=#completely-loaded>completely
- loaded</a> at the time of the new <a href=#navigate title=navigate>navigation</a>, then the <a href=#navigate title=navigate>navigation</a> must be completed with
- <a href=#replacement-enabled>replacement enabled</a>.</p>
+ <p>Furthermore, if the <a href=#active-document>active document</a> of the element's <a href=#child-browsing-context>child browsing
+ context</a> before such a <a href=#navigate title=navigate>navigation</a> was not <a href=#completely-loaded>completely
+ loaded</a> at the time of the new <a href=#navigate title=navigate>navigation</a>, then the <a href=#navigate title=navigate>navigation</a> must be completed with <a href=#replacement-enabled>replacement enabled</a>.</p>
- <p>Similarly, if the <a href=#child-browsing-context>child browsing context</a>'s
- <a href=#session-history>session history</a> contained only one
- <code><a href=#document>Document</a></code> when the <a href=#process-the-frame-attributes>process the <code>frame</code>
- attributes</a> algorithm was invoked, and that was the
- <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code> created when the
- <a href=#child-browsing-context>child browsing context</a> was created, then any <a href=#navigate title=navigate>navigation</a> required of the user agent in
- that algorithm must be completed with <a href=#replacement-enabled>replacement
- enabled</a>.</p> <!-- see also the note near similar text for the
+ <p>Similarly, if the <a href=#child-browsing-context>child browsing context</a>'s <a href=#session-history>session history</a> contained
+ only one <code><a href=#document>Document</a></code> when the <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a>
+ algorithm was invoked, and that was the <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code> created
+ when the <a href=#child-browsing-context>child browsing context</a> was created, then any <a href=#navigate title=navigate>navigation</a> required of the user agent in that algorithm must be completed
+ with <a href=#replacement-enabled>replacement enabled</a>.</p> <!-- see also the note near similar text for the
location.assign() method -->
<!-- END of section that's very similar to <iframe> -->
- <p>When the browsing context is created, if a <code title=attr-frame-name>name</code> attribute is present, the
- <a href=#browsing-context-name>browsing context name</a> must be set to the value of this
- attribute; otherwise, the <a href=#browsing-context-name>browsing context name</a> must be
- set to the empty string.</p>
+ <p>When the browsing context is created, if a <code title=attr-frame-name>name</code> attribute
+ is present, the <a href=#browsing-context-name>browsing context name</a> must be set to the value of this attribute;
+ otherwise, the <a href=#browsing-context-name>browsing context name</a> must be set to the empty string.</p>
- <p>Whenever the <code title=attr-frame-name>name</code> attribute
- is set, the nested <a href=#browsing-context>browsing context</a>'s <a href=#browsing-context-name title="browsing context name">name</a> must be changed to the new
- value. If the attribute is removed, the <a href=#browsing-context-name>browsing context
- name</a> must be set to the empty string.</p>
+ <p>Whenever the <code title=attr-frame-name>name</code> attribute is set, the nested
+ <a href=#browsing-context>browsing context</a>'s <a href=#browsing-context-name title="browsing context name">name</a> must be changed to
+ the new value. If the attribute is removed, the <a href=#browsing-context-name>browsing context name</a> must be set to
+ the empty string.</p>
- <p>When content loads in a <code><a href=#frame>frame</a></code>, after any <code title=event-load>load</code> events are fired within the content
- itself, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire
- a simple event</a> named <code title=event-load>load</code> at
- the <code><a href=#frame>frame</a></code> element. When content fails to load (e.g. due
- to a network error), then the user agent must <a href=#queue-a-task>queue a
- task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element instead.</p>
+ <p>When content loads in a <code><a href=#frame>frame</a></code>, after any <code title=event-load>load</code>
+ events are fired within the content itself, the user agent must <a href=#queue-a-task>queue a task</a> to
+ <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the
+ <code><a href=#frame>frame</a></code> element. When content fails to load (e.g. due to a network error), then the
+ user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element instead.</p>
- <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the <a href=#dom-manipulation-task-source>DOM
- manipulation task source</a>.</p>
+ <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the
+ <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
- <p>When there is an <a href=#active-parser>active parser</a> in the
- <code><a href=#frame>frame</a></code>, and when anything in the <code><a href=#frame>frame</a></code> is
- <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of
- the <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s
- <a href=#active-document>active document</a>, the <code><a href=#frame>frame</a></code> must
- <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
+ <p>When there is an <a href=#active-parser>active parser</a> in the <code><a href=#frame>frame</a></code>, and when anything in the
+ <code><a href=#frame>frame</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the
+ <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, the
+ <code><a href=#frame>frame</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
- <p>The <code><a href=#frame>frame</a></code> element must implement the
- <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
+ <p>The <code><a href=#frame>frame</a></code> element must implement the <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
<pre class=idl>interface <dfn id=htmlframeelement>HTMLFrameElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-frame-name title=dom-frame-name>name</a>;
@@ -100074,45 +100013,32 @@
[TreatNullAs=EmptyString] attribute DOMString <a href=#dom-frame-marginwidth title=dom-frame-marginWidth>marginWidth</a>;
};</pre>
- <p>The <dfn id=dom-frame-name title=dom-frame-name><code>name</code></dfn>, <dfn id=dom-frame-scrolling title=dom-frame-scrolling><code>scrolling</code></dfn>, and <dfn id=dom-frame-src title=dom-frame-src><code>src</code></dfn> IDL attributes of the
- <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the respective
- content attributes of the same name.</p>
+ <p>The <dfn id=dom-frame-name title=dom-frame-name><code>name</code></dfn>, <dfn id=dom-frame-scrolling title=dom-frame-scrolling><code>scrolling</code></dfn>, and <dfn id=dom-frame-src title=dom-frame-src><code>src</code></dfn> IDL attributes of the <code><a href=#frame>frame</a></code> element must
+ <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>
- <p>The <dfn id=dom-frame-frameborder title=dom-frame-frameBorder><code>frameBorder</code></dfn> IDL
- attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-frameborder>frameborder</code> content
- attribute.</p>
+ <p>The <dfn id=dom-frame-frameborder title=dom-frame-frameBorder><code>frameBorder</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-frameborder>frameborder</code> content attribute.</p>
- <p>The <dfn id=dom-frame-longdesc title=dom-frame-longDesc><code>longDesc</code></dfn>
- IDL attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-longdesc>longdesc</code> content attribute, which
- for the purposes of reflection is defined as containing a
- <a href=#url>URL</a>.</p>
+ <p>The <dfn id=dom-frame-longdesc title=dom-frame-longDesc><code>longDesc</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-longdesc>longdesc</code> content attribute, which for the purposes of
+ reflection is defined as containing a <a href=#url>URL</a>.</p>
- <p>The <dfn id=dom-frame-noresize title=dom-frame-noResize><code>noResize</code></dfn>
- IDL attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-noresize>noresize</code> content attribute.</p>
+ <p>The <dfn id=dom-frame-noresize title=dom-frame-noResize><code>noResize</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-noresize>noresize</code> content attribute.</p>
- <p>The <dfn id=dom-frame-contentdocument title=dom-frame-contentDocument><code>contentDocument</code></dfn>
- IDL attribute of the <code><a href=#frame>frame</a></code> element must return the
- <code><a href=#document>Document</a></code> object of the <a href=#active-document>active document</a> of
- the <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing
- context</a>.</p>
+ <p>The <dfn id=dom-frame-contentdocument title=dom-frame-contentDocument><code>contentDocument</code></dfn> IDL attribute of
+ the <code><a href=#frame>frame</a></code> element must return the <code><a href=#document>Document</a></code> object of the <a href=#active-document>active
+ document</a> of the <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>.</p>
- <p>The <dfn id=dom-frame-contentwindow title=dom-frame-contentWindow><code>contentWindow</code></dfn>
- IDL attribute must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the
- <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing
- context</a>.</p>
+ <p>The <dfn id=dom-frame-contentwindow title=dom-frame-contentWindow><code>contentWindow</code></dfn> IDL attribute must
+ return the <code><a href=#windowproxy>WindowProxy</a></code> object of the <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested
+ browsing context</a>.</p>
- <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL
- attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content
- attribute.</p>
+ <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content attribute.</p>
- <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL
- attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content
- attribute.</p>
+ <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content attribute.</p>
Modified: index
===================================================================
--- index 2012-11-24 18:47:42 UTC (rev 7532)
+++ index 2012-11-24 19:30:10 UTC (rev 7533)
@@ -99327,8 +99327,7 @@
<h3 id=non-conforming-features><span class=secno>15.2 </span>Non-conforming features</h3>
- <p>Elements in the following list are entirely obsolete, and must
- not be used by authors:</p>
+ <p>Elements in the following list are entirely obsolete, and must not be used by authors:</p>
<dl><!-- alphabetical by first element in the group, except CSS goes last --><dt><code><a href=#the-applet-element>applet</a></code></dt>
<dd><p>Use <code><a href=#the-embed-element>embed</a></code> or <code><a href=#the-object-element>object</a></code> instead.</dd>
@@ -99386,26 +99385,23 @@
<p>Use appropriate elements and/or CSS instead.</p>
- <p>Where the <code><a href=#tt>tt</a></code> element would have been used for
- marking up keyboard input, consider the <code><a href=#the-kbd-element>kbd</a></code> element;
- for variables, consider the <code><a href=#the-var-element>var</a></code> element; for computer
- code, consider the <code><a href=#the-code-element>code</a></code> element; and for computer
- output, consider the <code><a href=#the-samp-element>samp</a></code> element.</p>
+ <p>Where the <code><a href=#tt>tt</a></code> element would have been used for marking up keyboard input,
+ consider the <code><a href=#the-kbd-element>kbd</a></code> element; for variables, consider the <code><a href=#the-var-element>var</a></code> element; for
+ computer code, consider the <code><a href=#the-code-element>code</a></code> element; and for computer output, consider the
+ <code><a href=#the-samp-element>samp</a></code> element.</p>
- <p>Similarly, if the <code><a href=#big>big</a></code> element is being used to
- denote a heading, consider using the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> element; if
- it is being used for marking up important passages, consider the
- <code><a href=#the-strong-element>strong</a></code> element; and if it is being used for
- highlighting text for reference purposes, consider the
- <code><a href=#the-mark-element>mark</a></code> element.</p>
+ <p>Similarly, if the <code><a href=#big>big</a></code> element is being used to denote a heading, consider using
+ the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> element; if it is being used for marking up important passages, consider the
+ <code><a href=#the-strong-element>strong</a></code> element; and if it is being used for highlighting text for reference
+ purposes, consider the <code><a href=#the-mark-element>mark</a></code> element.</p>
- <p>See also the <a href=#usage-summary>text-level semantics
- usage summary</a> for more suggestions with examples.</p>
+ <p>See also the <a href=#usage-summary>text-level semantics usage summary</a> for more
+ suggestions with examples.</p>
</dd>
- </dl><hr><p>The following attributes are obsolete (though the elements are
- still part of the language), and must not be used by authors:</p>
+ </dl><hr><p>The following attributes are obsolete (though the elements are still part of the language), and
+ must not be used by authors:</p>
<dl><!-- alphabetical by element then attribute of first item in group, except CSS goes last --><dt><dfn id=attr-a-charset title=attr-a-charset><code>charset</code></dfn> on <code><a href=#the-a-element>a</a></code> elements</dt>
<dt><dfn id=attr-link-charset title=attr-link-charset><code>charset</code></dfn> on <code><a href=#the-link-element>link</a></code> elements</dt>
@@ -99612,53 +99608,43 @@
<h4 id=the-applet-element><span class=secno>15.3.1 </span>The <dfn><code>applet</code></dfn> element</h4>
- <p>The <code><a href=#the-applet-element>applet</a></code> element is a Java-specific variant of the
- <code><a href=#the-embed-element>embed</a></code> element. The <code><a href=#the-applet-element>applet</a></code> element is now
- obsoleted so that all extension frameworks (Java, .NET, Flash, etc)
- are handled in a consistent manner.</p>
+ <p>The <code><a href=#the-applet-element>applet</a></code> element is a Java-specific variant of the <code><a href=#the-embed-element>embed</a></code> element.
+ The <code><a href=#the-applet-element>applet</a></code> element is now obsoleted so that all extension frameworks (Java, .NET,
+ Flash, etc) are handled in a consistent manner.</p>
- <p id=sandboxPluginApplet>When the element is still in the
- <a href=#stack-of-open-elements>stack of open elements</a> of an <a href=#html-parser>HTML parser</a>
- or <a href=#xml-parser>XML parser</a>, and when the element is not <a href=#in-a-document>in a
- <code>Document</code></a>, and when the element's document is not
- <a href=#fully-active>fully active</a>, and when the element's
- <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> has
- its <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins browsing context flag</a> set, and
- when the element has an ancestor <a href=#media-element>media element</a>, and
- when the element has an ancestor <code><a href=#the-object-element>object</a></code> element that is
- <em>not</em> showing its <a href=#fallback-content>fallback content</a>, and when no
- Java Language runtime <a href=#plugin>plugin</a> is available, and when one
- <em>is</em> available but it is disabled, the element
- <a href=#represents>represents</a> its contents.</p>
+ <p id=sandboxPluginApplet>When the element is still in the <a href=#stack-of-open-elements>stack of open elements</a>
+ of an <a href=#html-parser>HTML parser</a> or <a href=#xml-parser>XML parser</a>, and when the element is not <a href=#in-a-document>in a
+ <code>Document</code></a>, and when the element's document is not <a href=#fully-active>fully active</a>,
+ and when the element's <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> has its
+ <a href=#sandboxed-plugins-browsing-context-flag>sandboxed plugins browsing context flag</a> set, and when the element has an ancestor
+ <a href=#media-element>media element</a>, and when the element has an ancestor <code><a href=#the-object-element>object</a></code> element that
+ is <em>not</em> showing its <a href=#fallback-content>fallback content</a>, and when no Java Language runtime
+ <a href=#plugin>plugin</a> is available, and when one <em>is</em> available but it is disabled, the
+ element <a href=#represents>represents</a> its contents.</p>
<!-- we assume here that the Java plugin can't be <span
- title="concept-plugin-secure">secured</span>; if anyone does end up
- securing one we can always change this -->
+ title="concept-plugin-secure">secured</span>; if anyone does end up securing one we can always
+ change this -->
- <p>Otherwise, the user agent should instantiate a Java Language
- runtime <a href=#plugin>plugin</a>, and should pass the names and values of
- all the attributes on the element, in the order they were added to
- the element, with the attributes added by the parser being ordered
- in source order, and then a parameter named "PARAM" whose value is
- null, and then all the names and values of <a href=#concept-param-parameter title=concept-param-parameter>parameters</a> given by
- <code><a href=#the-param-element>param</a></code> elements that are children of the
- <code><a href=#the-applet-element>applet</a></code> element, in <a href=#tree-order>tree order</a>, to the
- <a href=#plugin>plugin</a> used. If the <a href=#plugin>plugin</a> supports a
- scriptable interface, the <code><a href=#htmlappletelement>HTMLAppletElement</a></code> object
- representing the element should expose that interface. The
- <code><a href=#the-applet-element>applet</a></code> element <a href=#represents>represents</a> the
- <a href=#plugin>plugin</a>.</p>
+ <p>Otherwise, the user agent should instantiate a Java Language runtime <a href=#plugin>plugin</a>, and
+ should pass the names and values of all the attributes on the element, in the order they were
+ added to the element, with the attributes added by the parser being ordered in source order, and
+ then a parameter named "PARAM" whose value is null, and then all the names and values of <a href=#concept-param-parameter title=concept-param-parameter>parameters</a> given by <code><a href=#the-param-element>param</a></code> elements that are
+ children of the <code><a href=#the-applet-element>applet</a></code> element, in <a href=#tree-order>tree order</a>, to the
+ <a href=#plugin>plugin</a> used. If the <a href=#plugin>plugin</a> supports a scriptable interface, the
+ <code><a href=#htmlappletelement>HTMLAppletElement</a></code> object representing the element should expose that interface. The
+ <code><a href=#the-applet-element>applet</a></code> element <a href=#represents>represents</a> the <a href=#plugin>plugin</a>.</p>
- <!-- If we ever make this fetch anything manually, remember to delay
- the load event, and to include ", from the element's <span>browsing
- context scope origin</span> if it has one" when fetching -->
+ <!-- If we ever make this fetch anything manually, remember to delay the load event, and to
+ include ", from the element's <span>browsing context scope origin</span> if it has one" when
+ fetching -->
- <p class=note>The <code><a href=#the-applet-element>applet</a></code> element is unaffected by the
- CSS 'display' property. The Java Language runtime is instantiated
- even if the element is hidden with a 'display:none' CSS style.</p>
+ <p class=note>The <code><a href=#the-applet-element>applet</a></code> element is unaffected by the CSS 'display' property. The
+ Java Language runtime is instantiated even if the element is hidden with a 'display:none' CSS
+ style.</p>
- <p>The <code><a href=#the-applet-element>applet</a></code> element must implement the
- <code><a href=#htmlappletelement>HTMLAppletElement</a></code> interface.</p>
+ <p>The <code><a href=#the-applet-element>applet</a></code> element must implement the <code><a href=#htmlappletelement>HTMLAppletElement</a></code>
+ interface.</p>
<pre class=idl>interface <dfn id=htmlappletelement>HTMLAppletElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-applet-align title=dom-applet-align>align</a>;
@@ -99674,30 +99660,26 @@
attribute DOMString <a href=#dom-applet-width title=dom-applet-width>width</a>;
};</pre>
- <p>The <dfn id=dom-applet-align title=dom-applet-align><code>align</code></dfn>, <dfn id=dom-applet-alt title=dom-applet-alt><code>alt</code></dfn>, <dfn id=dom-applet-archive title=dom-applet-archive><code>archive</code></dfn>, <dfn id=dom-applet-code title=dom-applet-code><code>code</code></dfn>, <dfn id=dom-applet-height title=dom-applet-height><code>height</code></dfn>, <dfn id=dom-applet-hspace title=dom-applet-hspace><code>hspace</code></dfn>, <dfn id=dom-applet-name title=dom-applet-name><code>name</code></dfn>, <dfn id=dom-applet-object title=dom-applet-object><code>object</code></dfn>, <dfn id=dom-applet-vspace title=dom-applet-vspace><code>vspace</code></dfn>, and <dfn id=dom-applet-width title=dom-applet-width><code>width</code></dfn> IDL attributes
- must <a href=#reflect>reflect</a> the respective content attributes of the
- same name. For the purposes of reflection, the <code><a href=#the-applet-element>applet</a></code>
- element's <code title=attr-applet-object>object</code> content
- attribute is defined as containing a <a href=#url>URL</a>.</p>
+ <p>The <dfn id=dom-applet-align title=dom-applet-align><code>align</code></dfn>, <dfn id=dom-applet-alt title=dom-applet-alt><code>alt</code></dfn>, <dfn id=dom-applet-archive title=dom-applet-archive><code>archive</code></dfn>, <dfn id=dom-applet-code title=dom-applet-code><code>code</code></dfn>, <dfn id=dom-applet-height title=dom-applet-height><code>height</code></dfn>, <dfn id=dom-applet-hspace title=dom-applet-hspace><code>hspace</code></dfn>, <dfn id=dom-applet-name title=dom-applet-name><code>name</code></dfn>, <dfn id=dom-applet-object title=dom-applet-object><code>object</code></dfn>, <dfn id=dom-applet-vspace title=dom-applet-vspace><code>vspace</code></dfn>, and <dfn id=dom-applet-width title=dom-applet-width><code>width</code></dfn> IDL attributes must <a href=#reflect>reflect</a> the
+ respective content attributes of the same name. For the purposes of reflection, the
+ <code><a href=#the-applet-element>applet</a></code> element's <code title=attr-applet-object>object</code> content attribute is
+ defined as containing a <a href=#url>URL</a>.</p>
- <p>The <dfn id=dom-applet-codebase title=dom-applet-codeBase><code>codeBase</code></dfn>
- IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-applet-codebase>codebase</code> content attribute,
- which for the purposes of reflection is defined as containing a
- <a href=#url>URL</a>.</p>
+ <p>The <dfn id=dom-applet-codebase title=dom-applet-codeBase><code>codeBase</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-applet-codebase>codebase</code> content attribute,
+ which for the purposes of reflection is defined as containing a <a href=#url>URL</a>.</p>
<h4 id=the-marquee-element><span class=secno>15.3.2 </span>The <dfn><code>marquee</code></dfn> element</h4>
<p>The <code><a href=#the-marquee-element>marquee</a></code> element is a presentational element that animates content. CSS
- transitions and animations are a more appropriate mechanism.
- <a href=#refsCSSANIMATIONS>[CSSANIMATIONS]</a> <a href=#refsCSSTRANSITIONS>[CSSTRANSITIONS]</a>
- </p>
+ transitions and animations are a more appropriate mechanism. <a href=#refsCSSANIMATIONS>[CSSANIMATIONS]</a> <a href=#refsCSSTRANSITIONS>[CSSTRANSITIONS]</a></p>
- <p>The <a href=#task-source>task source</a> for tasks mentioned in this section
- is the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+ <p>The <a href=#task-source>task source</a> for tasks mentioned in this section is the <a href=#dom-manipulation-task-source>DOM manipulation
+ task source</a>.</p>
- <p>The <code><a href=#the-marquee-element>marquee</a></code> element must implement the
- <code><a href=#htmlmarqueeelement>HTMLMarqueeElement</a></code> interface.</p>
+ <p>The <code><a href=#the-marquee-element>marquee</a></code> element must implement the <code><a href=#htmlmarqueeelement>HTMLMarqueeElement</a></code>
+ interface.</p>
<pre class=idl>interface <dfn id=htmlmarqueeelement>HTMLMarqueeElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-marquee-behavior title=dom-marquee-behavior>behavior</a>;
@@ -99720,23 +99702,21 @@
void <a href=#dom-marquee-stop title=dom-marquee-stop>stop</a>();
};</pre>
- <p>A <code><a href=#the-marquee-element>marquee</a></code> element can be <dfn id=concept-marquee-on title=concept-marquee-on>turned on</dfn> or <dfn id=concept-marquee-off title=concept-marquee-off>turned off</dfn>. When it is created, it
- is <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
+ <p>A <code><a href=#the-marquee-element>marquee</a></code> element can be <dfn id=concept-marquee-on title=concept-marquee-on>turned on</dfn> or <dfn id=concept-marquee-off title=concept-marquee-off>turned off</dfn>. When it is created, it is <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
- <p>When the <dfn id=dom-marquee-start title=dom-marquee-start><code>start()</code></dfn> method is
- called, the <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
+ <p>When the <dfn id=dom-marquee-start title=dom-marquee-start><code>start()</code></dfn> method is called, the
+ <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-on title=concept-marquee-on>turned on</a>.</p>
- <p>When the <dfn id=dom-marquee-stop title=dom-marquee-stop><code>stop()</code></dfn>
- method is called, the <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-off title=concept-marquee-off>turned off</a>.</p>
+ <p>When the <dfn id=dom-marquee-stop title=dom-marquee-stop><code>stop()</code></dfn> method is called, the
+ <code><a href=#the-marquee-element>marquee</a></code> element must be <a href=#concept-marquee-off title=concept-marquee-off>turned off</a>.</p>
- <p>When a <code><a href=#the-marquee-element>marquee</a></code> element is created, the user agent
- must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
- named <code title=event-start>start</code> at the element.</p>
+ <p>When a <code><a href=#the-marquee-element>marquee</a></code> element is created, the user agent must <a href=#queue-a-task>queue a task</a>
+ to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-start>start</code> at the
+ element.</p>
- <hr><p>The <dfn id=attr-marquee-behavior title=attr-marquee-behavior><code>behavior</code></dfn> content
- attribute on <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated
- attribute</a> with the following keywords (all
- non-conforming):</p>
+ <hr><p>The <dfn id=attr-marquee-behavior title=attr-marquee-behavior><code>behavior</code></dfn> content attribute on
+ <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated attribute</a> with the following keywords
+ (all non-conforming):</p>
<table><thead><tr><th>Keyword
<th>State
@@ -99748,10 +99728,9 @@
<td><dfn id=attr-marquee-behavior-alternate title=attr-marquee-behavior-alternate>alternate</dfn>
</table><p>The <i>missing value default</i> is the <a href=#attr-marquee-behavior-scroll title=attr-marquee-behavior-scroll>scroll</a> state.</p>
- <hr><p>The <dfn id=attr-marquee-direction title=attr-marquee-direction><code>direction</code></dfn> content
- attribute on <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated
- attribute</a> with the following keywords (all
- non-conforming):</p>
+ <hr><p>The <dfn id=attr-marquee-direction title=attr-marquee-direction><code>direction</code></dfn> content attribute on
+ <code><a href=#the-marquee-element>marquee</a></code> elements is an <a href=#enumerated-attribute>enumerated attribute</a> with the following keywords
+ (all non-conforming):</p>
<table><thead><tr><th>Keyword
<th>State
@@ -99763,114 +99742,102 @@
<td><dfn id=attr-marquee-direction-up title=attr-marquee-direction-up>up</dfn>
<tr><td><code title="">down</code>
<td><dfn id=attr-marquee-direction-down title=attr-marquee-direction-down>down</dfn>
- </table><p>The <i>missing value default</i> is the <a href=#attr-marquee-direction-left title=attr-marquee-direction-left>left</a> state.</p>
+ </table><p>The <i>missing value default</i> is the <a href=#attr-marquee-direction-left title=attr-marquee-direction-left>left</a>
+ state.</p>
- <hr><p>The <dfn id=attr-marquee-truespeed title=attr-marquee-truespeed><code>truespeed</code></dfn> content
- attribute on <code><a href=#the-marquee-element>marquee</a></code> elements is a <a href=#boolean-attribute>boolean
- attribute</a>.</p>
+ <hr><p>The <dfn id=attr-marquee-truespeed title=attr-marquee-truespeed><code>truespeed</code></dfn> content attribute on
+ <code><a href=#the-marquee-element>marquee</a></code> elements is a <a href=#boolean-attribute>boolean attribute</a>.</p>
- <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-interval>marquee scroll
- interval</dfn>, which is obtained as follows:</p>
+ <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-interval>marquee scroll interval</dfn>, which is obtained as
+ follows:</p>
- <ol><li><p>If the element has a <code title=attr-marquee-scrolldelay>scrolldelay</code> attribute, and
- parsing its value using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative
- integers</a> does not return an error, then let <var title="">delay</var> be the parsed value. Otherwise, let <var title="">delay</var> be 85.</li>
+ <ol><li><p>If the element has a <code title=attr-marquee-scrolldelay>scrolldelay</code> attribute,
+ and parsing its value using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a> does not
+ return an error, then let <var title="">delay</var> be the parsed value. Otherwise, let <var title="">delay</var> be 85.</li>
- <li><p>If the element does not have a <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code> attribute, and the
- <var title="">delay</var> value is less than 60, then let <var title="">delay</var> be 60 instead.</li>
+ <li><p>If the element does not have a <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code>
+ attribute, and the <var title="">delay</var> value is less than 60, then let <var title="">delay</var> be 60 instead.</li>
- <li><p>The <a href=#marquee-scroll-interval>marquee scroll interval</a> is <var title="">delay</var>, interpreted in milliseconds.</li>
+ <li><p>The <a href=#marquee-scroll-interval>marquee scroll interval</a> is <var title="">delay</var>, interpreted in
+ milliseconds.</li>
- </ol><hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-distance>marquee scroll
- distance</dfn>, which, if the element has a <code title=attr-marquee-scrollamount>scrollamount</code> attribute, and
- parsing its value using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative
- integers</a> does not return an error, is the parsed value
- interpreted in CSS pixels, and otherwise is 6 CSS pixels.</p>
+ </ol><hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-scroll-distance>marquee scroll distance</dfn>, which, if the element
+ has a <code title=attr-marquee-scrollamount>scrollamount</code> attribute, and parsing its value
+ using the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a> does not return an error, is the
+ parsed value interpreted in CSS pixels, and otherwise is 6 CSS pixels.</p>
- <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-loop-count>marquee loop
- count</dfn>, which, if the element has a <code title=attr-marquee-loop>loop</code> attribute, and parsing its
- value using the <a href=#rules-for-parsing-integers>rules for parsing integers</a> does not
- return an error or a number less than 1, is the parsed value, and
- otherwise is −1.</p>
+ <hr><p>A <code><a href=#the-marquee-element>marquee</a></code> element has a <dfn id=marquee-loop-count>marquee loop count</dfn>, which, if the element has a
+ <code title=attr-marquee-loop>loop</code> attribute, and parsing its value using the <a href=#rules-for-parsing-integers>rules
+ for parsing integers</a> does not return an error or a number less than 1, is the parsed value,
+ and otherwise is −1.</p>
- <p>The <dfn id=dom-marquee-loop title=dom-marquee-loop><code>loop</code></dfn> IDL
- attribute, on getting, must return the element's <a href=#marquee-loop-count>marquee loop
- count</a>; and on setting, if the new value is different than the
- element's <a href=#marquee-loop-count>marquee loop count</a> and either greater than
- zero or equal to −1, must set the element's <code title=attr-marquee-loop>loop</code> content attribute (adding it
- if necessary) to the <a href=#valid-integer>valid integer</a> that represents the
- new value. (Other values are ignored.)</p>
+ <p>The <dfn id=dom-marquee-loop title=dom-marquee-loop><code>loop</code></dfn> IDL attribute, on getting, must
+ return the element's <a href=#marquee-loop-count>marquee loop count</a>; and on setting, if the new value is
+ different than the element's <a href=#marquee-loop-count>marquee loop count</a> and either greater than zero or equal
+ to −1, must set the element's <code title=attr-marquee-loop>loop</code> content attribute
+ (adding it if necessary) to the <a href=#valid-integer>valid integer</a> that represents the new value. (Other
+ values are ignored.)</p>
- <p>A <code><a href=#the-marquee-element>marquee</a></code> element also has a <dfn id=marquee-current-loop-index>marquee current
- loop index</dfn>, which is zero when the element is created.</p>
+ <p>A <code><a href=#the-marquee-element>marquee</a></code> element also has a <dfn id=marquee-current-loop-index>marquee current loop index</dfn>, which is zero
+ when the element is created.</p>
- <p>The rendering layer will occasionally <dfn id=increment-the-marquee-current-loop-index>increment the marquee
- current loop index</dfn>, which must cause the following steps to be
- run:</p>
+ <p>The rendering layer will occasionally <dfn id=increment-the-marquee-current-loop-index>increment the marquee current loop index</dfn>,
+ which must cause the following steps to be run:</p>
- <ol><li><p>If the <a href=#marquee-loop-count>marquee loop count</a> is −1, then
- abort these steps.</p>
+ <ol><li><p>If the <a href=#marquee-loop-count>marquee loop count</a> is −1, then abort these steps.</p>
- <li><p>Increment the <a href=#marquee-current-loop-index>marquee current loop index</a> by
- one.</li>
+ <li><p>Increment the <a href=#marquee-current-loop-index>marquee current loop index</a> by one.</li>
<li>
- <p>If the <a href=#marquee-current-loop-index>marquee current loop index</a> is now equal to
- or greater than the element's <a href=#marquee-loop-count>marquee loop count</a>,
- <a href=#concept-marquee-off title=concept-marquee-off>turn off</a> the
- <code><a href=#the-marquee-element>marquee</a></code> element and <a href=#queue-a-task>queue a task</a> to
- <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-finish>finish</code> at the <code><a href=#the-marquee-element>marquee</a></code>
- element.</p>
+ <p>If the <a href=#marquee-current-loop-index>marquee current loop index</a> is now equal to or greater than the element's
+ <a href=#marquee-loop-count>marquee loop count</a>, <a href=#concept-marquee-off title=concept-marquee-off>turn off</a> the
+ <code><a href=#the-marquee-element>marquee</a></code> element and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
+ named <code title=event-finish>finish</code> at the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
<p>Otherwise, if the <code title=attr-marquee-behavior><a href=#attr-marquee-behavior>behavior</a></code> attribute is in the
- <a href=#attr-marquee-behavior-alternate title=attr-marquee-behavior-alternate>alternate</a>
- state, then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
- event</a> named <code title=event-bounce>bounce</code> at
- the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
+ <a href=#attr-marquee-behavior-alternate title=attr-marquee-behavior-alternate>alternate</a> state, then <a href=#queue-a-task>queue a
+ task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-bounce>bounce</code>
+ at the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
- <p>Otherwise, <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
- event</a> named <code title=event-start>start</code> at the
- <code><a href=#the-marquee-element>marquee</a></code> element.</p>
+ <p>Otherwise, <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-start>start</code> at the <code><a href=#the-marquee-element>marquee</a></code> element.</p>
</li>
- </ol><hr><p>The following are the <a href=#event-handlers>event handlers</a> (and their
- corresponding <a href=#event-handler-event-type title="event handler event type">event handler
- event types</a>) that must be supported, as content and IDL
+ </ol><hr><p>The following are the <a href=#event-handlers>event handlers</a> (and their corresponding <a href=#event-handler-event-type title="event
+ handler event type">event handler event types</a>) that must be supported, as content and IDL
attributes, by <code><a href=#the-marquee-element>marquee</a></code> elements:</p>
<table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
<tbody><tr><td><dfn id=handler-marquee-onbounce title=handler-marquee-onbounce><code>onbounce</code></dfn> <td> <code title=event-bounce>bounce</code>
<tr><td><dfn id=handler-marquee-onfinish title=handler-marquee-onfinish><code>onfinish</code></dfn> <td> <code title=event-finish>finish</code>
<tr><td><dfn id=handler-marquee-onstart title=handler-marquee-onstart><code>onstart</code></dfn> <td> <code title=event-start>start</code>
- </table><hr><p>The <dfn id=dom-marquee-behavior title=dom-marquee-behavior><code>behavior</code></dfn>, <dfn id=dom-marquee-direction title=dom-marquee-direction><code>direction</code></dfn>, <dfn id=dom-marquee-height title=dom-marquee-height><code>height</code></dfn>, <dfn id=dom-marquee-hspace title=dom-marquee-hspace><code>hspace</code></dfn>, <dfn id=dom-marquee-vspace title=dom-marquee-vspace><code>vspace</code></dfn>, and <dfn id=dom-marquee-width title=dom-marquee-width><code>width</code></dfn> IDL attributes
- must <a href=#reflect>reflect</a> the respective content attributes of the
- same name.</p>
+ </table><hr><p>The <dfn id=dom-marquee-behavior title=dom-marquee-behavior><code>behavior</code></dfn>, <dfn id=dom-marquee-direction title=dom-marquee-direction><code>direction</code></dfn>, <dfn id=dom-marquee-height title=dom-marquee-height><code>height</code></dfn>, <dfn id=dom-marquee-hspace title=dom-marquee-hspace><code>hspace</code></dfn>, <dfn id=dom-marquee-vspace title=dom-marquee-vspace><code>vspace</code></dfn>, and <dfn id=dom-marquee-width title=dom-marquee-width><code>width</code></dfn> IDL attributes must <a href=#reflect>reflect</a> the
+ respective content attributes of the same name.</p>
- <p>The <dfn id=dom-marquee-bgcolor title=dom-marquee-bgColor><code>bgColor</code></dfn>
- IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-bgcolor>bgcolor</code> content attribute.</p>
+ <p>The <dfn id=dom-marquee-bgcolor title=dom-marquee-bgColor><code>bgColor</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-bgcolor>bgcolor</code> content attribute.</p>
- <p>The <dfn id=dom-marquee-scrollamount title=dom-marquee-scrollAmount><code>scrollAmount</code></dfn>
- IDL attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-scrollamount>scrollamount</code> content
+ <p>The <dfn id=dom-marquee-scrollamount title=dom-marquee-scrollAmount><code>scrollAmount</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-scrollamount>scrollamount</code> content
attribute. The default value is 6.</p>
- <p>The <dfn id=dom-marquee-scrolldelay title=dom-marquee-scrollDelay><code>scrollDelay</code></dfn> IDL
- attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-scrolldelay>scrolldelay</code> content
+ <p>The <dfn id=dom-marquee-scrolldelay title=dom-marquee-scrollDelay><code>scrollDelay</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-scrolldelay>scrolldelay</code> content
attribute. The default value is 85.</p>
- <p>The <dfn id=dom-marquee-truespeed title=dom-marquee-trueSpeed><code>trueSpeed</code></dfn> IDL
- attribute must <a href=#reflect>reflect</a> the <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code> content
+ <p>The <dfn id=dom-marquee-truespeed title=dom-marquee-trueSpeed><code>trueSpeed</code></dfn> IDL attribute must
+ <a href=#reflect>reflect</a> the <code title=attr-marquee-truespeed><a href=#attr-marquee-truespeed>truespeed</a></code> content
attribute.</p>
<h4 id=frames><span class=secno>15.3.3 </span>Frames</h4>
- <p>The <dfn id=frameset><code>frameset</code></dfn> element acts as <a href=#the-body-element-0>the
- body element</a> in documents that use frames.</p>
+ <p>The <dfn id=frameset><code>frameset</code></dfn> element acts as <a href=#the-body-element-0>the body element</a> in documents
+ that use frames.</p>
- <p>The <code><a href=#frameset>frameset</a></code> element must implement the
- <code><a href=#htmlframesetelement>HTMLFrameSetElement</a></code> interface.</p>
+ <p>The <code><a href=#frameset>frameset</a></code> element must implement the <code><a href=#htmlframesetelement>HTMLFrameSetElement</a></code>
+ interface.</p>
<pre class=idl>interface <dfn id=htmlframesetelement>HTMLFrameSetElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-frameset-cols title=dom-frameset-cols>cols</a>;
@@ -99895,15 +99862,11 @@
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
};</pre>
- <p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and
- <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL
- attributes of the <code><a href=#frameset>frameset</a></code> element must
- <a href=#reflect>reflect</a> the respective content attributes of the same
- name.</p>
+ <p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL attributes of the <code><a href=#frameset>frameset</a></code>
+ element must <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>
- <p>The <code><a href=#frameset>frameset</a></code> element must support the following
- <a href=#event-handler-content-attributes>event handler content attributes</a> exposing the
- <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object:</p>
+ <p>The <code><a href=#frameset>frameset</a></code> element must support the following <a href=#event-handler-content-attributes>event handler content
+ attributes</a> exposing the <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object:</p>
<ul class=brief><li><code title=handler-window-onafterprint><a href=#handler-window-onafterprint>onafterprint</a></code></li>
<li><code title=handler-window-onbeforeprint><a href=#handler-window-onbeforeprint>onbeforeprint</a></code></li>
@@ -99923,57 +99886,47 @@
<li><code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code></li>
<li><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></li>
<li><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></li>
- </ul><p>The DOM interface also exposes <a href=#event-handler-idl-attributes>event handler IDL
- attributes</a> that mirror those on the <code><a href=#window>Window</a></code>
- element.</p>
+ </ul><p>The DOM interface also exposes <a href=#event-handler-idl-attributes>event handler IDL attributes</a> that mirror those on
+ the <code><a href=#window>Window</a></code> element.</p>
- <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>, and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handler-idl-attributes>event handler
- IDL attributes</a> of the <code><a href=#window>Window</a></code> object, exposed on
- the <code><a href=#frameset>frameset</a></code> element, shadow the generic <a href=#event-handler-idl-attributes>event
- handler IDL attributes</a> with the same names normally supported
- by <a href=#html-elements>HTML elements</a>.</p>
+ <p>The <code title=handler-window-onblur><a href=#handler-window-onblur>onblur</a></code>, <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code>, <code title=handler-window-onfocus><a href=#handler-window-onfocus>onfocus</a></code>, <code title=handler-window-onload><a href=#handler-window-onload>onload</a></code>,
+ and <code title=handler-window-onscroll><a href=#handler-window-onscroll>onscroll</a></code> <a href=#event-handler-idl-attributes>event handler IDL
+ attributes</a> of the <code><a href=#window>Window</a></code> object, exposed on the <code><a href=#frameset>frameset</a></code> element,
+ shadow the generic <a href=#event-handler-idl-attributes>event handler IDL attributes</a> with the same names normally
+ supported by <a href=#html-elements>HTML elements</a>.</p>
- <hr><p>The <dfn id=frame><code>frame</code></dfn> element defines a <a href=#nested-browsing-context>nested
- browsing context</a> similar to the <code><a href=#the-iframe-element>iframe</a></code> element,
- but rendered within a <code><a href=#frameset>frameset</a></code> element.</p>
+ <hr><p>The <dfn id=frame><code>frame</code></dfn> element defines a <a href=#nested-browsing-context>nested browsing context</a>
+ similar to the <code><a href=#the-iframe-element>iframe</a></code> element, but rendered within a <code><a href=#frameset>frameset</a></code>
+ element.</p>
<!-- START of section that's very similar to <iframe> -->
- <p>A <code><a href=#frame>frame</a></code> element is said to be an <dfn id=active-frame-element>active
- <code>frame</code> element</dfn> when it is <a href=#in-a-document>in a
- <code>Document</code></a> and its <span>parent element</span>, if
- any, is a <code><a href=#frameset>frameset</a></code> element.</p>
+ <p>A <code><a href=#frame>frame</a></code> element is said to be an <dfn id=active-frame-element>active <code>frame</code> element</dfn> when
+ it is <a href=#in-a-document>in a <code>Document</code></a> and its <span>parent element</span>, if any, is a
+ <code><a href=#frameset>frameset</a></code> element.</p>
- <p>When a <code><a href=#frame>frame</a></code> element is created as an <a href=#active-frame-element>active
- <code>frame</code> element</a>, or becomes an <a href=#active-frame-element>active
- <code>frame</code> element</a> after not having been one, the
- user agent must create a <a href=#nested-browsing-context>nested browsing context</a>, and
- then <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a> for the
- first time.</p>
+ <p>When a <code><a href=#frame>frame</a></code> element is created as an <a href=#active-frame-element>active <code>frame</code>
+ element</a>, or becomes an <a href=#active-frame-element>active <code>frame</code> element</a> after not having been
+ one, the user agent must create a <a href=#nested-browsing-context>nested browsing context</a>, and then <a href=#process-the-frame-attributes>process the
+ <code>frame</code> attributes</a> for the first time.</p>
- <p>When a <code><a href=#frame>frame</a></code> element stops being an <a href=#active-frame-element>active
- <code>frame</code> element</a>, the user agent must <a href=#a-browsing-context-is-discarded title="a browsing context is discarded">discard</a> the
- <a href=#nested-browsing-context>nested browsing context</a>.</p>
+ <p>When a <code><a href=#frame>frame</a></code> element stops being an <a href=#active-frame-element>active <code>frame</code>
+ element</a>, the user agent must <a href=#a-browsing-context-is-discarded title="a browsing context is discarded">discard</a>
+ the <a href=#nested-browsing-context>nested browsing context</a>.</p>
- <p>Whenever a <code><a href=#frame>frame</a></code> element with a <a href=#nested-browsing-context>nested
- browsing context</a> has its <code title=attr-frame-src>src</code> attribute set, changed, or
- removed, the user agent must <a href=#process-the-frame-attributes>process the <code>frame</code>
- attributes</a>.</p> <!-- It doesn't happen when the base URL is
- changed, though. -->
+ <p>Whenever a <code><a href=#frame>frame</a></code> element with a <a href=#nested-browsing-context>nested browsing context</a> has its <code title=attr-frame-src>src</code> attribute set, changed, or removed, the user agent must
+ <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a>.</p> <!-- It doesn't happen when the base
+ URL is changed, though. -->
- <p>When the user agent is to <dfn id=process-the-frame-attributes>process the <code>frame</code>
- attributes</dfn>, it must run the first appropriate steps from the
- following list:</p>
+ <p>When the user agent is to <dfn id=process-the-frame-attributes>process the <code>frame</code> attributes</dfn>, it must run the
+ first appropriate steps from the following list:</p>
<dl class=switch><dt>If the element has no <code title=attr-frame-src>src</code> attribute specified, and the
- user agent is processing the <code><a href=#frame>frame</a></code>'s attributes for
- the first time</dt>
+ user agent is processing the <code><a href=#frame>frame</a></code>'s attributes for the first time</dt>
<dd>
- <p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
- named <code title=event-load>load</code> at the
- <code><a href=#frame>frame</a></code> element.</p>
+ <p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the <code><a href=#frame>frame</a></code> element.</p>
</dd>
@@ -99983,82 +99936,68 @@
<ol><li>
- <p>If the value of the <code title=attr-frame-src>src</code>
- attribute is the empty string, let <var title="">url</var> be
- the string "<code><a href=#about:blank>about:blank</a></code>".</p>
+ <p>If the value of the <code title=attr-frame-src>src</code> attribute is the empty string,
+ let <var title="">url</var> be the string "<code><a href=#about:blank>about:blank</a></code>".</p>
- <p>Otherwise, <a href=#resolve-a-url title="resolve a url">resolve</a> the
- value of the <code title=attr-frame-src>src</code> attribute,
- relative to the <code><a href=#frame>frame</a></code> element.</p>
+ <p>Otherwise, <a href=#resolve-a-url title="resolve a url">resolve</a> the value of the <code title=attr-frame-src>src</code> attribute, relative to the <code><a href=#frame>frame</a></code> element.</p>
- <p>If that is not successful, then let <var title="">url</var>
- be the string "<code><a href=#about:blank>about:blank</a></code>". Otherwise, let <var title="">url</var> be the resulting <a href=#absolute-url>absolute
- URL</a>.</p>
+ <p>If that is not successful, then let <var title="">url</var> be the string
+ "<code><a href=#about:blank>about:blank</a></code>". Otherwise, let <var title="">url</var> be the resulting
+ <a href=#absolute-url>absolute URL</a>.</p>
</li>
<li>
- <p><a href=#navigate>Navigate</a><!--DONAV frame--> the element's
- <a href=#child-browsing-context>child browsing context</a> to <var title="">url</var>.</p>
+ <p><a href=#navigate>Navigate</a><!--DONAV frame--> the element's <a href=#child-browsing-context>child browsing context</a>
+ to <var title="">url</var>.</p>
</li>
</ol></dd>
- </dl><p>Any <a href=#navigate title=navigate>navigation</a> required of the user
- agent in the <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a>
- algorithm must be completed as an <a href=#explicit-self-navigation-override>explicit self-navigation
- override</a> and with the <code><a href=#frame>frame</a></code> element's
- document's <a href=#browsing-context>browsing context</a> as the <a href=#source-browsing-context>source
- browsing context</a>.</p>
+ </dl><p>Any <a href=#navigate title=navigate>navigation</a> required of the user agent in the <a href=#process-the-frame-attributes>process
+ the <code>frame</code> attributes</a> algorithm must be completed as an <a href=#explicit-self-navigation-override>explicit
+ self-navigation override</a> and with the <code><a href=#frame>frame</a></code> element's document's
+ <a href=#browsing-context>browsing context</a> as the <a href=#source-browsing-context>source browsing context</a>.</p>
- <p>Furthermore, if the <a href=#active-document>active document</a> of the element's
- <a href=#child-browsing-context>child browsing context</a> before such a <a href=#navigate title=navigate>navigation</a> was not <a href=#completely-loaded>completely
- loaded</a> at the time of the new <a href=#navigate title=navigate>navigation</a>, then the <a href=#navigate title=navigate>navigation</a> must be completed with
- <a href=#replacement-enabled>replacement enabled</a>.</p>
+ <p>Furthermore, if the <a href=#active-document>active document</a> of the element's <a href=#child-browsing-context>child browsing
+ context</a> before such a <a href=#navigate title=navigate>navigation</a> was not <a href=#completely-loaded>completely
+ loaded</a> at the time of the new <a href=#navigate title=navigate>navigation</a>, then the <a href=#navigate title=navigate>navigation</a> must be completed with <a href=#replacement-enabled>replacement enabled</a>.</p>
- <p>Similarly, if the <a href=#child-browsing-context>child browsing context</a>'s
- <a href=#session-history>session history</a> contained only one
- <code><a href=#document>Document</a></code> when the <a href=#process-the-frame-attributes>process the <code>frame</code>
- attributes</a> algorithm was invoked, and that was the
- <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code> created when the
- <a href=#child-browsing-context>child browsing context</a> was created, then any <a href=#navigate title=navigate>navigation</a> required of the user agent in
- that algorithm must be completed with <a href=#replacement-enabled>replacement
- enabled</a>.</p> <!-- see also the note near similar text for the
+ <p>Similarly, if the <a href=#child-browsing-context>child browsing context</a>'s <a href=#session-history>session history</a> contained
+ only one <code><a href=#document>Document</a></code> when the <a href=#process-the-frame-attributes>process the <code>frame</code> attributes</a>
+ algorithm was invoked, and that was the <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code> created
+ when the <a href=#child-browsing-context>child browsing context</a> was created, then any <a href=#navigate title=navigate>navigation</a> required of the user agent in that algorithm must be completed
+ with <a href=#replacement-enabled>replacement enabled</a>.</p> <!-- see also the note near similar text for the
location.assign() method -->
<!-- END of section that's very similar to <iframe> -->
- <p>When the browsing context is created, if a <code title=attr-frame-name>name</code> attribute is present, the
- <a href=#browsing-context-name>browsing context name</a> must be set to the value of this
- attribute; otherwise, the <a href=#browsing-context-name>browsing context name</a> must be
- set to the empty string.</p>
+ <p>When the browsing context is created, if a <code title=attr-frame-name>name</code> attribute
+ is present, the <a href=#browsing-context-name>browsing context name</a> must be set to the value of this attribute;
+ otherwise, the <a href=#browsing-context-name>browsing context name</a> must be set to the empty string.</p>
- <p>Whenever the <code title=attr-frame-name>name</code> attribute
- is set, the nested <a href=#browsing-context>browsing context</a>'s <a href=#browsing-context-name title="browsing context name">name</a> must be changed to the new
- value. If the attribute is removed, the <a href=#browsing-context-name>browsing context
- name</a> must be set to the empty string.</p>
+ <p>Whenever the <code title=attr-frame-name>name</code> attribute is set, the nested
+ <a href=#browsing-context>browsing context</a>'s <a href=#browsing-context-name title="browsing context name">name</a> must be changed to
+ the new value. If the attribute is removed, the <a href=#browsing-context-name>browsing context name</a> must be set to
+ the empty string.</p>
- <p>When content loads in a <code><a href=#frame>frame</a></code>, after any <code title=event-load>load</code> events are fired within the content
- itself, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire
- a simple event</a> named <code title=event-load>load</code> at
- the <code><a href=#frame>frame</a></code> element. When content fails to load (e.g. due
- to a network error), then the user agent must <a href=#queue-a-task>queue a
- task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element instead.</p>
+ <p>When content loads in a <code><a href=#frame>frame</a></code>, after any <code title=event-load>load</code>
+ events are fired within the content itself, the user agent must <a href=#queue-a-task>queue a task</a> to
+ <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the
+ <code><a href=#frame>frame</a></code> element. When content fails to load (e.g. due to a network error), then the
+ user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error>error</code> at the element instead.</p>
- <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the <a href=#dom-manipulation-task-source>DOM
- manipulation task source</a>.</p>
+ <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> above is the
+ <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
- <p>When there is an <a href=#active-parser>active parser</a> in the
- <code><a href=#frame>frame</a></code>, and when anything in the <code><a href=#frame>frame</a></code> is
- <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of
- the <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s
- <a href=#active-document>active document</a>, the <code><a href=#frame>frame</a></code> must
- <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
+ <p>When there is an <a href=#active-parser>active parser</a> in the <code><a href=#frame>frame</a></code>, and when anything in the
+ <code><a href=#frame>frame</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of the
+ <code><a href=#frame>frame</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active document</a>, the
+ <code><a href=#frame>frame</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its document.</p>
- <p>The <code><a href=#frame>frame</a></code> element must implement the
- <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
+ <p>The <code><a href=#frame>frame</a></code> element must implement the <code><a href=#htmlframeelement>HTMLFrameElement</a></code> interface.</p>
<pre class=idl>interface <dfn id=htmlframeelement>HTMLFrameElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-frame-name title=dom-frame-name>name</a>;
@@ -100074,45 +100013,32 @@
[TreatNullAs=EmptyString] attribute DOMString <a href=#dom-frame-marginwidth title=dom-frame-marginWidth>marginWidth</a>;
};</pre>
- <p>The <dfn id=dom-frame-name title=dom-frame-name><code>name</code></dfn>, <dfn id=dom-frame-scrolling title=dom-frame-scrolling><code>scrolling</code></dfn>, and <dfn id=dom-frame-src title=dom-frame-src><code>src</code></dfn> IDL attributes of the
- <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the respective
- content attributes of the same name.</p>
+ <p>The <dfn id=dom-frame-name title=dom-frame-name><code>name</code></dfn>, <dfn id=dom-frame-scrolling title=dom-frame-scrolling><code>scrolling</code></dfn>, and <dfn id=dom-frame-src title=dom-frame-src><code>src</code></dfn> IDL attributes of the <code><a href=#frame>frame</a></code> element must
+ <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>
- <p>The <dfn id=dom-frame-frameborder title=dom-frame-frameBorder><code>frameBorder</code></dfn> IDL
- attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-frameborder>frameborder</code> content
- attribute.</p>
+ <p>The <dfn id=dom-frame-frameborder title=dom-frame-frameBorder><code>frameBorder</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-frameborder>frameborder</code> content attribute.</p>
- <p>The <dfn id=dom-frame-longdesc title=dom-frame-longDesc><code>longDesc</code></dfn>
- IDL attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-longdesc>longdesc</code> content attribute, which
- for the purposes of reflection is defined as containing a
- <a href=#url>URL</a>.</p>
+ <p>The <dfn id=dom-frame-longdesc title=dom-frame-longDesc><code>longDesc</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-longdesc>longdesc</code> content attribute, which for the purposes of
+ reflection is defined as containing a <a href=#url>URL</a>.</p>
- <p>The <dfn id=dom-frame-noresize title=dom-frame-noResize><code>noResize</code></dfn>
- IDL attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-noresize>noresize</code> content attribute.</p>
+ <p>The <dfn id=dom-frame-noresize title=dom-frame-noResize><code>noResize</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-noresize>noresize</code> content attribute.</p>
- <p>The <dfn id=dom-frame-contentdocument title=dom-frame-contentDocument><code>contentDocument</code></dfn>
- IDL attribute of the <code><a href=#frame>frame</a></code> element must return the
- <code><a href=#document>Document</a></code> object of the <a href=#active-document>active document</a> of
- the <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing
- context</a>.</p>
+ <p>The <dfn id=dom-frame-contentdocument title=dom-frame-contentDocument><code>contentDocument</code></dfn> IDL attribute of
+ the <code><a href=#frame>frame</a></code> element must return the <code><a href=#document>Document</a></code> object of the <a href=#active-document>active
+ document</a> of the <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing context</a>.</p>
- <p>The <dfn id=dom-frame-contentwindow title=dom-frame-contentWindow><code>contentWindow</code></dfn>
- IDL attribute must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the
- <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested browsing
- context</a>.</p>
+ <p>The <dfn id=dom-frame-contentwindow title=dom-frame-contentWindow><code>contentWindow</code></dfn> IDL attribute must
+ return the <code><a href=#windowproxy>WindowProxy</a></code> object of the <code><a href=#frame>frame</a></code> element's <a href=#nested-browsing-context>nested
+ browsing context</a>.</p>
- <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL
- attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content
- attribute.</p>
+ <p>The <dfn id=dom-frame-marginheight title=dom-frame-marginHeight><code>marginHeight</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginheight>marginheight</code> content attribute.</p>
- <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL
- attribute of the <code><a href=#frame>frame</a></code> element must
- <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content
- attribute.</p>
+ <p>The <dfn id=dom-frame-marginwidth title=dom-frame-marginWidth><code>marginWidth</code></dfn> IDL attribute of the
+ <code><a href=#frame>frame</a></code> element must <a href=#reflect>reflect</a> the element's <code title=attr-frame-marginwidth>marginwidth</code> content attribute.</p>
Modified: source
===================================================================
--- source 2012-11-24 18:47:42 UTC (rev 7532)
+++ source 2012-11-24 19:30:10 UTC (rev 7533)
@@ -116122,8 +116122,7 @@
<h3>Non-conforming features</h3>
- <p>Elements in the following list are entirely obsolete, and must
- not be used by authors:</p>
+ <p>Elements in the following list are entirely obsolete, and must not be used by authors:</p>
<dl><!-- alphabetical by first element in the group, except CSS goes last -->
@@ -116183,21 +116182,18 @@
<p>Use appropriate elements and/or CSS instead.</p>
- <p>Where the <code>tt</code> element would have been used for
- marking up keyboard input, consider the <code>kbd</code> element;
- for variables, consider the <code>var</code> element; for computer
- code, consider the <code>code</code> element; and for computer
- output, consider the <code>samp</code> element.</p>
+ <p>Where the <code>tt</code> element would have been used for marking up keyboard input,
+ consider the <code>kbd</code> element; for variables, consider the <code>var</code> element; for
+ computer code, consider the <code>code</code> element; and for computer output, consider the
+ <code>samp</code> element.</p>
- <p>Similarly, if the <code>big</code> element is being used to
- denote a heading, consider using the <code>h1</code> element; if
- it is being used for marking up important passages, consider the
- <code>strong</code> element; and if it is being used for
- highlighting text for reference purposes, consider the
- <code>mark</code> element.</p>
+ <p>Similarly, if the <code>big</code> element is being used to denote a heading, consider using
+ the <code>h1</code> element; if it is being used for marking up important passages, consider the
+ <code>strong</code> element; and if it is being used for highlighting text for reference
+ purposes, consider the <code>mark</code> element.</p>
- <p>See also the <a href="#usage-summary">text-level semantics
- usage summary</a> for more suggestions with examples.</p>
+ <p>See also the <a href="#usage-summary">text-level semantics usage summary</a> for more
+ suggestions with examples.</p>
</dd>
@@ -116205,8 +116201,8 @@
<hr>
- <p>The following attributes are obsolete (though the elements are
- still part of the language), and must not be used by authors:</p>
+ <p>The following attributes are obsolete (though the elements are still part of the language), and
+ must not be used by authors:</p>
<dl><!-- alphabetical by element then attribute of first item in group, except CSS goes last -->
@@ -116425,54 +116421,44 @@
<h4>The <dfn><code>applet</code></dfn> element</h4>
- <p>The <code>applet</code> element is a Java-specific variant of the
- <code>embed</code> element. The <code>applet</code> element is now
- obsoleted so that all extension frameworks (Java, .NET, Flash, etc)
- are handled in a consistent manner.</p>
+ <p>The <code>applet</code> element is a Java-specific variant of the <code>embed</code> element.
+ The <code>applet</code> element is now obsoleted so that all extension frameworks (Java, .NET,
+ Flash, etc) are handled in a consistent manner.</p>
- <p id="sandboxPluginApplet">When the element is still in the
- <span>stack of open elements</span> of an <span>HTML parser</span>
- or <span>XML parser</span>, and when the element is not <span>in a
- <code>Document</code></span>, and when the element's document is not
- <span>fully active</span>, and when the element's
- <code>Document</code>'s <span>active sandboxing flag set</span> has
- its <span>sandboxed plugins browsing context flag</span> set, and
- when the element has an ancestor <span>media element</span>, and
- when the element has an ancestor <code>object</code> element that is
- <em>not</em> showing its <span>fallback content</span>, and when no
- Java Language runtime <span>plugin</span> is available, and when one
- <em>is</em> available but it is disabled, the element
- <span>represents</span> its contents.</p>
+ <p id="sandboxPluginApplet">When the element is still in the <span>stack of open elements</span>
+ of an <span>HTML parser</span> or <span>XML parser</span>, and when the element is not <span>in a
+ <code>Document</code></span>, and when the element's document is not <span>fully active</span>,
+ and when the element's <code>Document</code>'s <span>active sandboxing flag set</span> has its
+ <span>sandboxed plugins browsing context flag</span> set, and when the element has an ancestor
+ <span>media element</span>, and when the element has an ancestor <code>object</code> element that
+ is <em>not</em> showing its <span>fallback content</span>, and when no Java Language runtime
+ <span>plugin</span> is available, and when one <em>is</em> available but it is disabled, the
+ element <span>represents</span> its contents.</p>
<!-- we assume here that the Java plugin can't be <span
- title="concept-plugin-secure">secured</span>; if anyone does end up
- securing one we can always change this -->
+ title="concept-plugin-secure">secured</span>; if anyone does end up securing one we can always
+ change this -->
- <p>Otherwise, the user agent should instantiate a Java Language
- runtime <span>plugin</span>, and should pass the names and values of
- all the attributes on the element, in the order they were added to
- the element, with the attributes added by the parser being ordered
- in source order, and then a parameter named "PARAM" whose value is
- null, and then all the names and values of <span
- title="concept-param-parameter">parameters</span> given by
- <code>param</code> elements that are children of the
- <code>applet</code> element, in <span>tree order</span>, to the
- <span>plugin</span> used. If the <span>plugin</span> supports a
- scriptable interface, the <code>HTMLAppletElement</code> object
- representing the element should expose that interface. The
- <code>applet</code> element <span>represents</span> the
- <span>plugin</span>.</p>
+ <p>Otherwise, the user agent should instantiate a Java Language runtime <span>plugin</span>, and
+ should pass the names and values of all the attributes on the element, in the order they were
+ added to the element, with the attributes added by the parser being ordered in source order, and
+ then a parameter named "PARAM" whose value is null, and then all the names and values of <span
+ title="concept-param-parameter">parameters</span> given by <code>param</code> elements that are
+ children of the <code>applet</code> element, in <span>tree order</span>, to the
+ <span>plugin</span> used. If the <span>plugin</span> supports a scriptable interface, the
+ <code>HTMLAppletElement</code> object representing the element should expose that interface. The
+ <code>applet</code> element <span>represents</span> the <span>plugin</span>.</p>
- <!-- If we ever make this fetch anything manually, remember to delay
- the load event, and to include ", from the element's <span>browsing
- context scope origin</span> if it has one" when fetching -->
+ <!-- If we ever make this fetch anything manually, remember to delay the load event, and to
+ include ", from the element's <span>browsing context scope origin</span> if it has one" when
+ fetching -->
- <p class="note">The <code>applet</code> element is unaffected by the
- CSS 'display' property. The Java Language runtime is instantiated
- even if the element is hidden with a 'display:none' CSS style.</p>
+ <p class="note">The <code>applet</code> element is unaffected by the CSS 'display' property. The
+ Java Language runtime is instantiated even if the element is hidden with a 'display:none' CSS
+ style.</p>
- <p>The <code>applet</code> element must implement the
- <code>HTMLAppletElement</code> interface.</p>
+ <p>The <code>applet</code> element must implement the <code>HTMLAppletElement</code>
+ interface.</p>
<pre class="idl">interface <dfn>HTMLAppletElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-applet-align">align</span>;
@@ -116497,31 +116483,28 @@
title="dom-applet-name"><code>name</code></dfn>, <dfn
title="dom-applet-object"><code>object</code></dfn>, <dfn
title="dom-applet-vspace"><code>vspace</code></dfn>, and <dfn
- title="dom-applet-width"><code>width</code></dfn> IDL attributes
- must <span>reflect</span> the respective content attributes of the
- same name. For the purposes of reflection, the <code>applet</code>
- element's <code title="attr-applet-object">object</code> content
- attribute is defined as containing a <span>URL</span>.</p>
+ title="dom-applet-width"><code>width</code></dfn> IDL attributes must <span>reflect</span> the
+ respective content attributes of the same name. For the purposes of reflection, the
+ <code>applet</code> element's <code title="attr-applet-object">object</code> content attribute is
+ defined as containing a <span>URL</span>.</p>
- <p>The <dfn title="dom-applet-codeBase"><code>codeBase</code></dfn>
- IDL attribute must <span>reflect</span> the <code
- title="attr-applet-codebase">codebase</code> content attribute,
- which for the purposes of reflection is defined as containing a
- <span>URL</span>.</p>
+ <p>The <dfn title="dom-applet-codeBase"><code>codeBase</code></dfn> IDL attribute must
+ <span>reflect</span> the <code title="attr-applet-codebase">codebase</code> content attribute,
+ which for the purposes of reflection is defined as containing a <span>URL</span>.</p>
<h4>The <dfn><code>marquee</code></dfn> element</h4>
<p>The <code>marquee</code> element is a presentational element that animates content. CSS
- transitions and animations are a more appropriate mechanism.
- <a href="#refsCSSANIMATIONS">[CSSANIMATIONS]</a> <a href="#refsCSSTRANSITIONS">[CSSTRANSITIONS]</a>
- </p>
+ transitions and animations are a more appropriate mechanism. <a
+ href="#refsCSSANIMATIONS">[CSSANIMATIONS]</a> <a
+ href="#refsCSSTRANSITIONS">[CSSTRANSITIONS]</a></p>
- <p>The <span>task source</span> for tasks mentioned in this section
- is the <span>DOM manipulation task source</span>.</p>
+ <p>The <span>task source</span> for tasks mentioned in this section is the <span>DOM manipulation
+ task source</span>.</p>
- <p>The <code>marquee</code> element must implement the
- <code>HTMLMarqueeElement</code> interface.</p>
+ <p>The <code>marquee</code> element must implement the <code>HTMLMarqueeElement</code>
+ interface.</p>
<pre class="idl">interface <dfn>HTMLMarqueeElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-marquee-behavior">behavior</span>;
@@ -116544,31 +116527,25 @@
void <span title="dom-marquee-stop">stop</span>();
};</pre>
- <p>A <code>marquee</code> element can be <dfn
- title="concept-marquee-on">turned on</dfn> or <dfn
- title="concept-marquee-off">turned off</dfn>. When it is created, it
- is <span title="concept-marquee-on">turned on</span>.</p>
-
- <p>When the <dfn
- title="dom-marquee-start"><code>start()</code></dfn> method is
- called, the <code>marquee</code> element must be <span
+ <p>A <code>marquee</code> element can be <dfn title="concept-marquee-on">turned on</dfn> or <dfn
+ title="concept-marquee-off">turned off</dfn>. When it is created, it is <span
title="concept-marquee-on">turned on</span>.</p>
- <p>When the <dfn title="dom-marquee-stop"><code>stop()</code></dfn>
- method is called, the <code>marquee</code> element must be <span
- title="concept-marquee-off">turned off</span>.</p>
+ <p>When the <dfn title="dom-marquee-start"><code>start()</code></dfn> method is called, the
+ <code>marquee</code> element must be <span title="concept-marquee-on">turned on</span>.</p>
- <p>When a <code>marquee</code> element is created, the user agent
- must <span>queue a task</span> to <span>fire a simple event</span>
- named <code title="event-start">start</code> at the element.</p>
+ <p>When the <dfn title="dom-marquee-stop"><code>stop()</code></dfn> method is called, the
+ <code>marquee</code> element must be <span title="concept-marquee-off">turned off</span>.</p>
+ <p>When a <code>marquee</code> element is created, the user agent must <span>queue a task</span>
+ to <span>fire a simple event</span> named <code title="event-start">start</code> at the
+ element.</p>
+
<hr>
- <p>The <dfn
- title="attr-marquee-behavior"><code>behavior</code></dfn> content
- attribute on <code>marquee</code> elements is an <span>enumerated
- attribute</span> with the following keywords (all
- non-conforming):</p>
+ <p>The <dfn title="attr-marquee-behavior"><code>behavior</code></dfn> content attribute on
+ <code>marquee</code> elements is an <span>enumerated attribute</span> with the following keywords
+ (all non-conforming):</p>
<table>
<thead>
@@ -116592,11 +116569,9 @@
<hr>
- <p>The <dfn
- title="attr-marquee-direction"><code>direction</code></dfn> content
- attribute on <code>marquee</code> elements is an <span>enumerated
- attribute</span> with the following keywords (all
- non-conforming):</p>
+ <p>The <dfn title="attr-marquee-direction"><code>direction</code></dfn> content attribute on
+ <code>marquee</code> elements is an <span>enumerated attribute</span> with the following keywords
+ (all non-conforming):</p>
<table>
<thead>
@@ -116618,102 +116593,82 @@
<td><dfn title="attr-marquee-direction-down">down</dfn>
</table>
- <p>The <i>missing value default</i> is the <span
- title="attr-marquee-direction-left">left</span> state.</p>
+ <p>The <i>missing value default</i> is the <span title="attr-marquee-direction-left">left</span>
+ state.</p>
<hr>
- <p>The <dfn
- title="attr-marquee-truespeed"><code>truespeed</code></dfn> content
- attribute on <code>marquee</code> elements is a <span>boolean
- attribute</span>.</p>
+ <p>The <dfn title="attr-marquee-truespeed"><code>truespeed</code></dfn> content attribute on
+ <code>marquee</code> elements is a <span>boolean attribute</span>.</p>
<hr>
- <p>A <code>marquee</code> element has a <dfn>marquee scroll
- interval</dfn>, which is obtained as follows:</p>
+ <p>A <code>marquee</code> element has a <dfn>marquee scroll interval</dfn>, which is obtained as
+ follows:</p>
<ol>
- <li><p>If the element has a <code
- title="attr-marquee-scrolldelay">scrolldelay</code> attribute, and
- parsing its value using the <span>rules for parsing non-negative
- integers</span> does not return an error, then let <var
- title="">delay</var> be the parsed value. Otherwise, let <var
+ <li><p>If the element has a <code title="attr-marquee-scrolldelay">scrolldelay</code> attribute,
+ and parsing its value using the <span>rules for parsing non-negative integers</span> does not
+ return an error, then let <var title="">delay</var> be the parsed value. Otherwise, let <var
title="">delay</var> be 85.</p></li>
- <li><p>If the element does not have a <code
- title="attr-marquee-truespeed">truespeed</code> attribute, and the
- <var title="">delay</var> value is less than 60, then let <var
+ <li><p>If the element does not have a <code title="attr-marquee-truespeed">truespeed</code>
+ attribute, and the <var title="">delay</var> value is less than 60, then let <var
title="">delay</var> be 60 instead.</p></li>
- <li><p>The <span>marquee scroll interval</span> is <var
- title="">delay</var>, interpreted in milliseconds.</p></li>
+ <li><p>The <span>marquee scroll interval</span> is <var title="">delay</var>, interpreted in
+ milliseconds.</p></li>
</ol>
<hr>
- <p>A <code>marquee</code> element has a <dfn>marquee scroll
- distance</dfn>, which, if the element has a <code
- title="attr-marquee-scrollamount">scrollamount</code> attribute, and
- parsing its value using the <span>rules for parsing non-negative
- integers</span> does not return an error, is the parsed value
- interpreted in CSS pixels, and otherwise is 6 CSS pixels.</p>
+ <p>A <code>marquee</code> element has a <dfn>marquee scroll distance</dfn>, which, if the element
+ has a <code title="attr-marquee-scrollamount">scrollamount</code> attribute, and parsing its value
+ using the <span>rules for parsing non-negative integers</span> does not return an error, is the
+ parsed value interpreted in CSS pixels, and otherwise is 6 CSS pixels.</p>
<hr>
- <p>A <code>marquee</code> element has a <dfn>marquee loop
- count</dfn>, which, if the element has a <code
- title="attr-marquee-loop">loop</code> attribute, and parsing its
- value using the <span>rules for parsing integers</span> does not
- return an error or a number less than 1, is the parsed value, and
- otherwise is −1.</p>
+ <p>A <code>marquee</code> element has a <dfn>marquee loop count</dfn>, which, if the element has a
+ <code title="attr-marquee-loop">loop</code> attribute, and parsing its value using the <span>rules
+ for parsing integers</span> does not return an error or a number less than 1, is the parsed value,
+ and otherwise is −1.</p>
- <p>The <dfn title="dom-marquee-loop"><code>loop</code></dfn> IDL
- attribute, on getting, must return the element's <span>marquee loop
- count</span>; and on setting, if the new value is different than the
- element's <span>marquee loop count</span> and either greater than
- zero or equal to −1, must set the element's <code
- title="attr-marquee-loop">loop</code> content attribute (adding it
- if necessary) to the <span>valid integer</span> that represents the
- new value. (Other values are ignored.)</p>
+ <p>The <dfn title="dom-marquee-loop"><code>loop</code></dfn> IDL attribute, on getting, must
+ return the element's <span>marquee loop count</span>; and on setting, if the new value is
+ different than the element's <span>marquee loop count</span> and either greater than zero or equal
+ to −1, must set the element's <code title="attr-marquee-loop">loop</code> content attribute
+ (adding it if necessary) to the <span>valid integer</span> that represents the new value. (Other
+ values are ignored.)</p>
- <p>A <code>marquee</code> element also has a <dfn>marquee current
- loop index</dfn>, which is zero when the element is created.</p>
+ <p>A <code>marquee</code> element also has a <dfn>marquee current loop index</dfn>, which is zero
+ when the element is created.</p>
- <p>The rendering layer will occasionally <dfn>increment the marquee
- current loop index</dfn>, which must cause the following steps to be
- run:</p>
+ <p>The rendering layer will occasionally <dfn>increment the marquee current loop index</dfn>,
+ which must cause the following steps to be run:</p>
<ol>
- <li><p>If the <span>marquee loop count</span> is −1, then
- abort these steps.</p>
+ <li><p>If the <span>marquee loop count</span> is −1, then abort these steps.</p>
- <li><p>Increment the <span>marquee current loop index</span> by
- one.</p></li>
+ <li><p>Increment the <span>marquee current loop index</span> by one.</p></li>
<li>
- <p>If the <span>marquee current loop index</span> is now equal to
- or greater than the element's <span>marquee loop count</span>,
- <span title="concept-marquee-off">turn off</span> the
- <code>marquee</code> element and <span>queue a task</span> to
- <span>fire a simple event</span> named <code
- title="event-finish">finish</code> at the <code>marquee</code>
- element.</p>
+ <p>If the <span>marquee current loop index</span> is now equal to or greater than the element's
+ <span>marquee loop count</span>, <span title="concept-marquee-off">turn off</span> the
+ <code>marquee</code> element and <span>queue a task</span> to <span>fire a simple event</span>
+ named <code title="event-finish">finish</code> at the <code>marquee</code> element.</p>
- <p>Otherwise, if the <code
- title="attr-marquee-behavior">behavior</code> attribute is in the
- <span title="attr-marquee-behavior-alternate">alternate</span>
- state, then <span>queue a task</span> to <span>fire a simple
- event</span> named <code title="event-bounce">bounce</code> at
- the <code>marquee</code> element.</p>
+ <p>Otherwise, if the <code title="attr-marquee-behavior">behavior</code> attribute is in the
+ <span title="attr-marquee-behavior-alternate">alternate</span> state, then <span>queue a
+ task</span> to <span>fire a simple event</span> named <code title="event-bounce">bounce</code>
+ at the <code>marquee</code> element.</p>
- <p>Otherwise, <span>queue a task</span> to <span>fire a simple
- event</span> named <code title="event-start">start</code> at the
- <code>marquee</code> element.</p>
+ <p>Otherwise, <span>queue a task</span> to <span>fire a simple event</span> named <code
+ title="event-start">start</code> at the <code>marquee</code> element.</p>
</li>
@@ -116721,9 +116676,8 @@
<hr>
- <p>The following are the <span>event handlers</span> (and their
- corresponding <span title="event handler event type">event handler
- event types</span>) that must be supported, as content and IDL
+ <p>The following are the <span>event handlers</span> (and their corresponding <span title="event
+ handler event type">event handler event types</span>) that must be supported, as content and IDL
attributes, by <code>marquee</code> elements:</p>
<table>
@@ -116737,46 +116691,37 @@
<hr>
- <p>The <dfn
- title="dom-marquee-behavior"><code>behavior</code></dfn>, <dfn
+ <p>The <dfn title="dom-marquee-behavior"><code>behavior</code></dfn>, <dfn
title="dom-marquee-direction"><code>direction</code></dfn>, <dfn
title="dom-marquee-height"><code>height</code></dfn>, <dfn
title="dom-marquee-hspace"><code>hspace</code></dfn>, <dfn
title="dom-marquee-vspace"><code>vspace</code></dfn>, and <dfn
- title="dom-marquee-width"><code>width</code></dfn> IDL attributes
- must <span>reflect</span> the respective content attributes of the
- same name.</p>
+ title="dom-marquee-width"><code>width</code></dfn> IDL attributes must <span>reflect</span> the
+ respective content attributes of the same name.</p>
- <p>The <dfn title="dom-marquee-bgColor"><code>bgColor</code></dfn>
- IDL attribute must <span>reflect</span> the <code
- title="attr-marquee-bgcolor">bgcolor</code> content attribute.</p>
+ <p>The <dfn title="dom-marquee-bgColor"><code>bgColor</code></dfn> IDL attribute must
+ <span>reflect</span> the <code title="attr-marquee-bgcolor">bgcolor</code> content attribute.</p>
- <p>The <dfn
- title="dom-marquee-scrollAmount"><code>scrollAmount</code></dfn>
- IDL attribute must <span>reflect</span> the <code
- title="attr-marquee-scrollamount">scrollamount</code> content
+ <p>The <dfn title="dom-marquee-scrollAmount"><code>scrollAmount</code></dfn> IDL attribute must
+ <span>reflect</span> the <code title="attr-marquee-scrollamount">scrollamount</code> content
attribute. The default value is 6.</p>
- <p>The <dfn
- title="dom-marquee-scrollDelay"><code>scrollDelay</code></dfn> IDL
- attribute must <span>reflect</span> the <code
- title="attr-marquee-scrolldelay">scrolldelay</code> content
+ <p>The <dfn title="dom-marquee-scrollDelay"><code>scrollDelay</code></dfn> IDL attribute must
+ <span>reflect</span> the <code title="attr-marquee-scrolldelay">scrolldelay</code> content
attribute. The default value is 85.</p>
- <p>The <dfn
- title="dom-marquee-trueSpeed"><code>trueSpeed</code></dfn> IDL
- attribute must <span>reflect</span> the <code
- title="attr-marquee-truespeed">truespeed</code> content
+ <p>The <dfn title="dom-marquee-trueSpeed"><code>trueSpeed</code></dfn> IDL attribute must
+ <span>reflect</span> the <code title="attr-marquee-truespeed">truespeed</code> content
attribute.</p>
<h4>Frames</h4>
- <p>The <dfn><code>frameset</code></dfn> element acts as <span>the
- body element</span> in documents that use frames.</p>
+ <p>The <dfn><code>frameset</code></dfn> element acts as <span>the body element</span> in documents
+ that use frames.</p>
- <p>The <code>frameset</code> element must implement the
- <code>HTMLFrameSetElement</code> interface.</p>
+ <p>The <code>frameset</code> element must implement the <code>HTMLFrameSetElement</code>
+ interface.</p>
<pre class="idl">interface <dfn>HTMLFrameSetElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-frameset-cols">cols</span>;
@@ -116801,15 +116746,12 @@
attribute <span>EventHandler</span> <span title="handler-window-onunload">onunload</span>;
};</pre>
- <p>The <dfn title="dom-frameset-cols"><code>cols</code></dfn> and
- <dfn title="dom-frameset-rows"><code>rows</code></dfn> IDL
- attributes of the <code>frameset</code> element must
- <span>reflect</span> the respective content attributes of the same
- name.</p>
+ <p>The <dfn title="dom-frameset-cols"><code>cols</code></dfn> and <dfn
+ title="dom-frameset-rows"><code>rows</code></dfn> IDL attributes of the <code>frameset</code>
+ element must <span>reflect</span> the respective content attributes of the same name.</p>
- <p>The <code>frameset</code> element must support the following
- <span>event handler content attributes</span> exposing the
- <span>event handlers</span> of the <code>Window</code> object:</p>
+ <p>The <code>frameset</code> element must support the following <span>event handler content
+ attributes</span> exposing the <span>event handlers</span> of the <code>Window</code> object:</p>
<ul class="brief">
<li><code title="handler-window-onafterprint">onafterprint</code></li>
@@ -116832,68 +116774,55 @@
<li><code title="handler-window-onunload">onunload</code></li>
</ul>
- <p>The DOM interface also exposes <span>event handler IDL
- attributes</span> that mirror those on the <code>Window</code>
- element.</p>
+ <p>The DOM interface also exposes <span>event handler IDL attributes</span> that mirror those on
+ the <code>Window</code> element.</p>
<p>The <code title="handler-window-onblur">onblur</code>, <code
title="handler-window-onerror">onerror</code>, <code
- title="handler-window-onfocus">onfocus</code>, <code
- title="handler-window-onload">onload</code>, and <code
- title="handler-window-onscroll">onscroll</code> <span>event handler
- IDL attributes</span> of the <code>Window</code> object, exposed on
- the <code>frameset</code> element, shadow the generic <span>event
- handler IDL attributes</span> with the same names normally supported
- by <span>HTML elements</span>.</p>
+ title="handler-window-onfocus">onfocus</code>, <code title="handler-window-onload">onload</code>,
+ and <code title="handler-window-onscroll">onscroll</code> <span>event handler IDL
+ attributes</span> of the <code>Window</code> object, exposed on the <code>frameset</code> element,
+ shadow the generic <span>event handler IDL attributes</span> with the same names normally
+ supported by <span>HTML elements</span>.</p>
<hr>
- <p>The <dfn><code>frame</code></dfn> element defines a <span>nested
- browsing context</span> similar to the <code>iframe</code> element,
- but rendered within a <code>frameset</code> element.</p>
+ <p>The <dfn><code>frame</code></dfn> element defines a <span>nested browsing context</span>
+ similar to the <code>iframe</code> element, but rendered within a <code>frameset</code>
+ element.</p>
<!-- START of section that's very similar to <iframe> -->
- <p>A <code>frame</code> element is said to be an <dfn>active
- <code>frame</code> element</dfn> when it is <span>in a
- <code>Document</code></span> and its <span>parent element</span>, if
- any, is a <code>frameset</code> element.</p>
+ <p>A <code>frame</code> element is said to be an <dfn>active <code>frame</code> element</dfn> when
+ it is <span>in a <code>Document</code></span> and its <span>parent element</span>, if any, is a
+ <code>frameset</code> element.</p>
- <p>When a <code>frame</code> element is created as an <span>active
- <code>frame</code> element</span>, or becomes an <span>active
- <code>frame</code> element</span> after not having been one, the
- user agent must create a <span>nested browsing context</span>, and
- then <span>process the <code>frame</code> attributes</span> for the
- first time.</p>
+ <p>When a <code>frame</code> element is created as an <span>active <code>frame</code>
+ element</span>, or becomes an <span>active <code>frame</code> element</span> after not having been
+ one, the user agent must create a <span>nested browsing context</span>, and then <span>process the
+ <code>frame</code> attributes</span> for the first time.</p>
- <p>When a <code>frame</code> element stops being an <span>active
- <code>frame</code> element</span>, the user agent must <span
- title="a browsing context is discarded">discard</span> the
- <span>nested browsing context</span>.</p>
+ <p>When a <code>frame</code> element stops being an <span>active <code>frame</code>
+ element</span>, the user agent must <span title="a browsing context is discarded">discard</span>
+ the <span>nested browsing context</span>.</p>
- <p>Whenever a <code>frame</code> element with a <span>nested
- browsing context</span> has its <code
- title="attr-frame-src">src</code> attribute set, changed, or
- removed, the user agent must <span>process the <code>frame</code>
- attributes</span>.</p> <!-- It doesn't happen when the base URL is
- changed, though. -->
+ <p>Whenever a <code>frame</code> element with a <span>nested browsing context</span> has its <code
+ title="attr-frame-src">src</code> attribute set, changed, or removed, the user agent must
+ <span>process the <code>frame</code> attributes</span>.</p> <!-- It doesn't happen when the base
+ URL is changed, though. -->
- <p>When the user agent is to <dfn>process the <code>frame</code>
- attributes</dfn>, it must run the first appropriate steps from the
- following list:</p>
+ <p>When the user agent is to <dfn>process the <code>frame</code> attributes</dfn>, it must run the
+ first appropriate steps from the following list:</p>
<dl class="switch">
- <dt>If the element has no <code
- title="attr-frame-src">src</code> attribute specified, and the
- user agent is processing the <code>frame</code>'s attributes for
- the first time</dt>
+ <dt>If the element has no <code title="attr-frame-src">src</code> attribute specified, and the
+ user agent is processing the <code>frame</code>'s attributes for the first time</dt>
<dd>
- <p><span>Queue a task</span> to <span>fire a simple event</span>
- named <code title="event-load">load</code> at the
- <code>frame</code> element.</p>
+ <p><span>Queue a task</span> to <span>fire a simple event</span> named <code
+ title="event-load">load</code> at the <code>frame</code> element.</p>
</dd>
@@ -116905,26 +116834,22 @@
<li>
- <p>If the value of the <code title="attr-frame-src">src</code>
- attribute is the empty string, let <var title="">url</var> be
- the string "<code>about:blank</code>".</p>
+ <p>If the value of the <code title="attr-frame-src">src</code> attribute is the empty string,
+ let <var title="">url</var> be the string "<code>about:blank</code>".</p>
- <p>Otherwise, <span title="resolve a url">resolve</span> the
- value of the <code title="attr-frame-src">src</code> attribute,
- relative to the <code>frame</code> element.</p>
+ <p>Otherwise, <span title="resolve a url">resolve</span> the value of the <code
+ title="attr-frame-src">src</code> attribute, relative to the <code>frame</code> element.</p>
- <p>If that is not successful, then let <var title="">url</var>
- be the string "<code>about:blank</code>". Otherwise, let <var
- title="">url</var> be the resulting <span>absolute
- URL</span>.</p>
+ <p>If that is not successful, then let <var title="">url</var> be the string
+ "<code>about:blank</code>". Otherwise, let <var title="">url</var> be the resulting
+ <span>absolute URL</span>.</p>
</li>
<li>
- <p><span>Navigate</span><!--DONAV frame--> the element's
- <span>child browsing context</span> to <var
- title="">url</var>.</p>
+ <p><span>Navigate</span><!--DONAV frame--> the element's <span>child browsing context</span>
+ to <var title="">url</var>.</p>
</li>
@@ -116934,68 +116859,51 @@
</dl>
- <p>Any <span title="navigate">navigation</span> required of the user
- agent in the <span>process the <code>frame</code> attributes</span>
- algorithm must be completed as an <span>explicit self-navigation
- override</span> and with the <code>frame</code> element's
- document's <span>browsing context</span> as the <span>source
- browsing context</span>.</p>
+ <p>Any <span title="navigate">navigation</span> required of the user agent in the <span>process
+ the <code>frame</code> attributes</span> algorithm must be completed as an <span>explicit
+ self-navigation override</span> and with the <code>frame</code> element's document's
+ <span>browsing context</span> as the <span>source browsing context</span>.</p>
- <p>Furthermore, if the <span>active document</span> of the element's
- <span>child browsing context</span> before such a <span
- title="navigate">navigation</span> was not <span>completely
- loaded</span> at the time of the new <span
- title="navigate">navigation</span>, then the <span
- title="navigate">navigation</span> must be completed with
- <span>replacement enabled</span>.</p>
+ <p>Furthermore, if the <span>active document</span> of the element's <span>child browsing
+ context</span> before such a <span title="navigate">navigation</span> was not <span>completely
+ loaded</span> at the time of the new <span title="navigate">navigation</span>, then the <span
+ title="navigate">navigation</span> must be completed with <span>replacement enabled</span>.</p>
- <p>Similarly, if the <span>child browsing context</span>'s
- <span>session history</span> contained only one
- <code>Document</code> when the <span>process the <code>frame</code>
- attributes</span> algorithm was invoked, and that was the
- <code>about:blank</code> <code>Document</code> created when the
- <span>child browsing context</span> was created, then any <span
- title="navigate">navigation</span> required of the user agent in
- that algorithm must be completed with <span>replacement
- enabled</span>.</p> <!-- see also the note near similar text for the
+ <p>Similarly, if the <span>child browsing context</span>'s <span>session history</span> contained
+ only one <code>Document</code> when the <span>process the <code>frame</code> attributes</span>
+ algorithm was invoked, and that was the <code>about:blank</code> <code>Document</code> created
+ when the <span>child browsing context</span> was created, then any <span
+ title="navigate">navigation</span> required of the user agent in that algorithm must be completed
+ with <span>replacement enabled</span>.</p> <!-- see also the note near similar text for the
location.assign() method -->
<!-- END of section that's very similar to <iframe> -->
- <p>When the browsing context is created, if a <code
- title="attr-frame-name">name</code> attribute is present, the
- <span>browsing context name</span> must be set to the value of this
- attribute; otherwise, the <span>browsing context name</span> must be
- set to the empty string.</p>
+ <p>When the browsing context is created, if a <code title="attr-frame-name">name</code> attribute
+ is present, the <span>browsing context name</span> must be set to the value of this attribute;
+ otherwise, the <span>browsing context name</span> must be set to the empty string.</p>
- <p>Whenever the <code title="attr-frame-name">name</code> attribute
- is set, the nested <span>browsing context</span>'s <span
- title="browsing context name">name</span> must be changed to the new
- value. If the attribute is removed, the <span>browsing context
- name</span> must be set to the empty string.</p>
+ <p>Whenever the <code title="attr-frame-name">name</code> attribute is set, the nested
+ <span>browsing context</span>'s <span title="browsing context name">name</span> must be changed to
+ the new value. If the attribute is removed, the <span>browsing context name</span> must be set to
+ the empty string.</p>
- <p>When content loads in a <code>frame</code>, after any <code
- title="event-load">load</code> events are fired within the content
- itself, the user agent must <span>queue a task</span> to <span>fire
- a simple event</span> named <code title="event-load">load</code> at
- the <code>frame</code> element. When content fails to load (e.g. due
- to a network error), then the user agent must <span>queue a
- task</span> to <span>fire a simple event</span> named <code
+ <p>When content loads in a <code>frame</code>, after any <code title="event-load">load</code>
+ events are fired within the content itself, the user agent must <span>queue a task</span> to
+ <span>fire a simple event</span> named <code title="event-load">load</code> at the
+ <code>frame</code> element. When content fails to load (e.g. due to a network error), then the
+ user agent must <span>queue a task</span> to <span>fire a simple event</span> named <code
title="event-error">error</code> at the element instead.</p>
- <p>The <span>task source</span> for the <span
- title="concept-task">tasks</span> above is the <span>DOM
- manipulation task source</span>.</p>
+ <p>The <span>task source</span> for the <span title="concept-task">tasks</span> above is the
+ <span>DOM manipulation task source</span>.</p>
- <p>When there is an <span>active parser</span> in the
- <code>frame</code>, and when anything in the <code>frame</code> is
- <span title="delay the load event">delaying the load event</span> of
- the <code>frame</code>'s <span>browsing context</span>'s
- <span>active document</span>, the <code>frame</code> must
- <span>delay the load event</span> of its document.</p>
+ <p>When there is an <span>active parser</span> in the <code>frame</code>, and when anything in the
+ <code>frame</code> is <span title="delay the load event">delaying the load event</span> of the
+ <code>frame</code>'s <span>browsing context</span>'s <span>active document</span>, the
+ <code>frame</code> must <span>delay the load event</span> of its document.</p>
- <p>The <code>frame</code> element must implement the
- <code>HTMLFrameElement</code> interface.</p>
+ <p>The <code>frame</code> element must implement the <code>HTMLFrameElement</code> interface.</p>
<pre class="idl">interface <dfn>HTMLFrameElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-frame-name">name</span>;
@@ -117013,55 +116921,37 @@
<p>The <dfn title="dom-frame-name"><code>name</code></dfn>, <dfn
title="dom-frame-scrolling"><code>scrolling</code></dfn>, and <dfn
- title="dom-frame-src"><code>src</code></dfn> IDL attributes of the
- <code>frame</code> element must <span>reflect</span> the respective
- content attributes of the same name.</p>
+ title="dom-frame-src"><code>src</code></dfn> IDL attributes of the <code>frame</code> element must
+ <span>reflect</span> the respective content attributes of the same name.</p>
- <p>The <dfn
- title="dom-frame-frameBorder"><code>frameBorder</code></dfn> IDL
- attribute of the <code>frame</code> element must
- <span>reflect</span> the element's <code
- title="attr-frame-frameborder">frameborder</code> content
- attribute.</p>
+ <p>The <dfn title="dom-frame-frameBorder"><code>frameBorder</code></dfn> IDL attribute of the
+ <code>frame</code> element must <span>reflect</span> the element's <code
+ title="attr-frame-frameborder">frameborder</code> content attribute.</p>
- <p>The <dfn title="dom-frame-longDesc"><code>longDesc</code></dfn>
- IDL attribute of the <code>frame</code> element must
- <span>reflect</span> the element's <code
- title="attr-frame-longdesc">longdesc</code> content attribute, which
- for the purposes of reflection is defined as containing a
- <span>URL</span>.</p>
+ <p>The <dfn title="dom-frame-longDesc"><code>longDesc</code></dfn> IDL attribute of the
+ <code>frame</code> element must <span>reflect</span> the element's <code
+ title="attr-frame-longdesc">longdesc</code> content attribute, which for the purposes of
+ reflection is defined as containing a <span>URL</span>.</p>
- <p>The <dfn title="dom-frame-noResize"><code>noResize</code></dfn>
- IDL attribute of the <code>frame</code> element must
- <span>reflect</span> the element's <code
+ <p>The <dfn title="dom-frame-noResize"><code>noResize</code></dfn> IDL attribute of the
+ <code>frame</code> element must <span>reflect</span> the element's <code
title="attr-frame-noresize">noresize</code> content attribute.</p>
- <p>The <dfn
- title="dom-frame-contentDocument"><code>contentDocument</code></dfn>
- IDL attribute of the <code>frame</code> element must return the
- <code>Document</code> object of the <span>active document</span> of
- the <code>frame</code> element's <span>nested browsing
- context</span>.</p>
+ <p>The <dfn title="dom-frame-contentDocument"><code>contentDocument</code></dfn> IDL attribute of
+ the <code>frame</code> element must return the <code>Document</code> object of the <span>active
+ document</span> of the <code>frame</code> element's <span>nested browsing context</span>.</p>
- <p>The <dfn
- title="dom-frame-contentWindow"><code>contentWindow</code></dfn>
- IDL attribute must return the <code>WindowProxy</code> object of the
- <code>frame</code> element's <span>nested browsing
- context</span>.</p>
+ <p>The <dfn title="dom-frame-contentWindow"><code>contentWindow</code></dfn> IDL attribute must
+ return the <code>WindowProxy</code> object of the <code>frame</code> element's <span>nested
+ browsing context</span>.</p>
- <p>The <dfn
- title="dom-frame-marginHeight"><code>marginHeight</code></dfn> IDL
- attribute of the <code>frame</code> element must
- <span>reflect</span> the element's <code
- title="attr-frame-marginheight">marginheight</code> content
- attribute.</p>
+ <p>The <dfn title="dom-frame-marginHeight"><code>marginHeight</code></dfn> IDL attribute of the
+ <code>frame</code> element must <span>reflect</span> the element's <code
+ title="attr-frame-marginheight">marginheight</code> content attribute.</p>
- <p>The <dfn
- title="dom-frame-marginWidth"><code>marginWidth</code></dfn> IDL
- attribute of the <code>frame</code> element must
- <span>reflect</span> the element's <code
- title="attr-frame-marginwidth">marginwidth</code> content
- attribute.</p>
+ <p>The <dfn title="dom-frame-marginWidth"><code>marginWidth</code></dfn> IDL attribute of the
+ <code>frame</code> element must <span>reflect</span> the element's <code
+ title="attr-frame-marginwidth">marginwidth</code> content attribute.</p>
More information about the Commit-Watchers
mailing list