Skip to content
Permalink
Browse files
[giow] (2) Sad as it may be, CSS affects whether plugins are instanti…
…ated.

Affected topics: HTML, Server-Sent Events

git-svn-id: http://svn.whatwg.org/webapps@7100 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 8, 2012
1 parent e090325 commit ea5fbb5967a09670ffc08a51234eeebfd5ca4ec8
Showing with 95 additions and 94 deletions.
  1. +30 −30 complete.html
  2. +30 −30 index
  3. +35 −34 source
@@ -4342,7 +4342,7 @@ <h4 id=extensibility><span class=secno>2.2.3 </span>Extensibility</h4>
members should be prefixed by vendor-specific strings to prevent
clashes with future versions of this specification.</p>

<p>For events, experimental event names should be prefixed with
<p>For events, experimental event types should be prefixed with
vendor-specific strings.</p>

<div class=example>
@@ -26094,26 +26094,31 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</

<div class=impl>

<p>When the element is created, when it is popped off 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 subsequently whenever the element is
<a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into a
document</a> or <a href=#remove-an-element-from-a-document title="remove an element from a
document">removed from a document</a>; and whenever the element's
<code><a href=#document>Document</a></code> changes whether it is <a href=#fully-active>fully
active</a>; and whenever an ancestor <code><a href=#the-object-element>object</a></code> element
changes to or from showing its <a href=#fallback-content>fallback content</a>; and
whenever the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set,
changed, or removed; and, when its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is not present,
whenever its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is
set, changed, or removed; and, when neither its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute nor its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute are present, whenever
its <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is set,
changed, or removed: the user agent must <a href=#queue-a-task>queue a task</a>
to run the following steps to (re)determine what the
<code><a href=#the-object-element>object</a></code> element represents. The <a href=#task-source>task source</a>
for this <a href=#concept-task title=concept-task>task</a> is the <a href=#dom-manipulation-task-source>DOM
manipulation task source</a>.</p> <!-- Changing the base URL
doesn't trigger this. -->
<p>Whenever one of the following conditions occur:</p>

<ul><li>the element is created,

<li>the element is popped off 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>,

<li>the element is not on 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 it is either <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into a document</a> or <a href=#remove-an-element-from-a-document title="remove an element from a document">removed from a document</a>,

<li>the element's <code><a href=#document>Document</a></code> changes whether it is <a href=#fully-active>fully active</a>,

<li>one of the element's ancestor <code><a href=#the-object-element>object</a></code> elements changes to or from showing its <a href=#fallback-content>fallback content</a>,

<li>the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set, changed, or removed,

<li>the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is not present, and its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is set, changed, or removed,

<li>neither the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute nor its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute are present, and its <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is set, changed, or removed,

<li>the element chnges from <a href=#being-rendered>being rendered</a> to not being rendered, or vice versa,

</ul><p>...the user agent must <a href=#queue-a-task>queue a task</a> to run the
following steps to (re)determine what the <code><a href=#the-object-element>object</a></code>
element represents. The <a href=#task-source>task source</a> for this <a href=#concept-task title=concept-task>task</a> is the <a href=#dom-manipulation-task-source>DOM manipulation task
source</a>.</p> <!-- Changing the base URL doesn't trigger this.
-->

<ol><li>

@@ -26137,8 +26142,9 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</
with a <a href=#browsing-context>browsing context</a>, or if the element's
<code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>, or if 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>, then jump to
the last step in the overall set of steps (fallback).</p>
<a href=#html-parser>HTML parser</a> or <a href=#xml-parser>XML parser</a>, or if the
element is not <a href=#being-rendered>being rendered</a>, then jump to the last
step in the overall set of steps (fallback).</p>

</li>

@@ -26658,12 +26664,6 @@ <h4 id=the-object-element><span class=secno>4.8.4 </span>The <dfn><code>object</
<code><a href=#the-object-element>object</a></code> element's <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active
sandboxing flag set</a>.</p>

<p class=note>The above algorithm is independent of CSS properties
(including 'display', 'overflow', and 'visibility'). For example, it
runs even if the element is hidden with a 'display:none' CSS style,
and does not run <em>again</em> if the element's visibility
changes.</p>

<p>Due to the algorithm above, the contents of <code><a href=#the-object-element>object</a></code>
elements act as <a href=#fallback-content>fallback content</a>, used only when
referenced resources can't be shown (e.g. because it returned a 404
@@ -80792,7 +80792,7 @@ <h4 id=event-stream-interpretation><span class=secno>10.2.5 </span>Interpreting

<li><p>If the <var title="">data</var> buffer is an empty string,
set the <var title="">data</var> buffer and the <var title="">event
name</var> buffer to the empty string and abort these
type</var> buffer to the empty string and abort these
steps.</li>

<li><p>If the <var title="">data</var> buffer's last character is a
60 index
@@ -4342,7 +4342,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
members should be prefixed by vendor-specific strings to prevent
clashes with future versions of this specification.</p>

<p>For events, experimental event names should be prefixed with
<p>For events, experimental event types should be prefixed with
vendor-specific strings.</p>

<div class=example>
@@ -26094,26 +26094,31 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>

<div class=impl>

<p>When the element is created, when it is popped off 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 subsequently whenever the element is
<a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into a
document</a> or <a href=#remove-an-element-from-a-document title="remove an element from a
document">removed from a document</a>; and whenever the element's
<code><a href=#document>Document</a></code> changes whether it is <a href=#fully-active>fully
active</a>; and whenever an ancestor <code><a href=#the-object-element>object</a></code> element
changes to or from showing its <a href=#fallback-content>fallback content</a>; and
whenever the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set,
changed, or removed; and, when its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is not present,
whenever its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is
set, changed, or removed; and, when neither its <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute nor its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute are present, whenever
its <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is set,
changed, or removed: the user agent must <a href=#queue-a-task>queue a task</a>
to run the following steps to (re)determine what the
<code><a href=#the-object-element>object</a></code> element represents. The <a href=#task-source>task source</a>
for this <a href=#concept-task title=concept-task>task</a> is the <a href=#dom-manipulation-task-source>DOM
manipulation task source</a>.</p> <!-- Changing the base URL
doesn't trigger this. -->
<p>Whenever one of the following conditions occur:</p>

<ul><li>the element is created,

<li>the element is popped off 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>,

<li>the element is not on 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 it is either <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into a document</a> or <a href=#remove-an-element-from-a-document title="remove an element from a document">removed from a document</a>,

<li>the element's <code><a href=#document>Document</a></code> changes whether it is <a href=#fully-active>fully active</a>,

<li>one of the element's ancestor <code><a href=#the-object-element>object</a></code> elements changes to or from showing its <a href=#fallback-content>fallback content</a>,

<li>the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is set, changed, or removed,

<li>the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute is not present, and its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is set, changed, or removed,

<li>neither the element's <code title=attr-object-classid><a href=#attr-object-classid>classid</a></code> attribute nor its <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute are present, and its <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is set, changed, or removed,

<li>the element chnges from <a href=#being-rendered>being rendered</a> to not being rendered, or vice versa,

</ul><p>...the user agent must <a href=#queue-a-task>queue a task</a> to run the
following steps to (re)determine what the <code><a href=#the-object-element>object</a></code>
element represents. The <a href=#task-source>task source</a> for this <a href=#concept-task title=concept-task>task</a> is the <a href=#dom-manipulation-task-source>DOM manipulation task
source</a>.</p> <!-- Changing the base URL doesn't trigger this.
-->

<ol><li>

@@ -26137,8 +26142,9 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
with a <a href=#browsing-context>browsing context</a>, or if the element's
<code><a href=#document>Document</a></code> is not <a href=#fully-active>fully active</a>, or if 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>, then jump to
the last step in the overall set of steps (fallback).</p>
<a href=#html-parser>HTML parser</a> or <a href=#xml-parser>XML parser</a>, or if the
element is not <a href=#being-rendered>being rendered</a>, then jump to the last
step in the overall set of steps (fallback).</p>

</li>

@@ -26658,12 +26664,6 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<code><a href=#the-object-element>object</a></code> element's <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active
sandboxing flag set</a>.</p>

<p class=note>The above algorithm is independent of CSS properties
(including 'display', 'overflow', and 'visibility'). For example, it
runs even if the element is hidden with a 'display:none' CSS style,
and does not run <em>again</em> if the element's visibility
changes.</p>

<p>Due to the algorithm above, the contents of <code><a href=#the-object-element>object</a></code>
elements act as <a href=#fallback-content>fallback content</a>, used only when
referenced resources can't be shown (e.g. because it returned a 404
@@ -80792,7 +80792,7 @@ any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF

<li><p>If the <var title="">data</var> buffer is an empty string,
set the <var title="">data</var> buffer and the <var title="">event
name</var> buffer to the empty string and abort these
type</var> buffer to the empty string and abort these
steps.</li>

<li><p>If the <var title="">data</var> buffer's last character is a
69 source
@@ -3358,7 +3358,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
members should be prefixed by vendor-specific strings to prevent
clashes with future versions of this specification.</p>

<p>For events, experimental event names should be prefixed with
<p>For events, experimental event types should be prefixed with
vendor-specific strings.</p>

<div class="example">
@@ -28075,30 +28075,36 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>

<div class="impl">

<p>When the element is created, when it is popped off the
<span>stack of open elements</span> of an <span>HTML parser</span>
or <span>XML parser</span>, and subsequently whenever the element is
<span title="insert an element into a document">inserted into a
document</span> or <span title="remove an element from a
document">removed from a document</span>; and whenever the element's
<code>Document</code> changes whether it is <span>fully
active</span>; and whenever an ancestor <code>object</code> element
changes to or from showing its <span>fallback content</span>; and
whenever the element's <code
title="attr-object-classid">classid</code> attribute is set,
changed, or removed; and, when its <code
title="attr-object-classid">classid</code> attribute is not present,
whenever its <code title="attr-object-data">data</code> attribute is
set, changed, or removed; and, when neither its <code
title="attr-object-classid">classid</code> attribute nor its <code
title="attr-object-data">data</code> attribute are present, whenever
its <code title="attr-object-type">type</code> attribute is set,
changed, or removed: the user agent must <span>queue a task</span>
to run the following steps to (re)determine what the
<code>object</code> element represents. The <span>task source</span>
for this <span title="concept-task">task</span> is the <span>DOM
manipulation task source</span>.</p> <!-- Changing the base URL
doesn't trigger this. -->
<p>Whenever one of the following conditions occur:</p>

<ul>

<li>the element is created,

<li>the element is popped off the <span>stack of open elements</span> of an <span>HTML parser</span> or <span>XML parser</span>,

<li>the element is not on the <span>stack of open elements</span> of an <span>HTML parser</span> or <span>XML parser</span>, and it is either <span title="insert an element into a document">inserted into a document</span> or <span title="remove an element from a document">removed from a document</span>,

<li>the element's <code>Document</code> changes whether it is <span>fully active</span>,

<li>one of the element's ancestor <code>object</code> elements changes to or from showing its <span>fallback content</span>,

<li>the element's <code title="attr-object-classid">classid</code> attribute is set, changed, or removed,

<li>the element's <code title="attr-object-classid">classid</code> attribute is not present, and its <code title="attr-object-data">data</code> attribute is set, changed, or removed,

<li>neither the element's <code title="attr-object-classid">classid</code> attribute nor its <code title="attr-object-data">data</code> attribute are present, and its <code title="attr-object-type">type</code> attribute is set, changed, or removed,

<li>the element chnges from <span>being rendered</span> to not being rendered, or vice versa,

</ul>

<p>...the user agent must <span>queue a task</span> to run the
following steps to (re)determine what the <code>object</code>
element represents. The <span>task source</span> for this <span
title="concept-task">task</span> is the <span>DOM manipulation task
source</span>.</p> <!-- Changing the base URL doesn't trigger this.
-->

<ol>

@@ -28124,8 +28130,9 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
with a <span>browsing context</span>, or if the element's
<code>Document</code> is not <span>fully active</span>, or if the
element is still in the <span>stack of open elements</span> of an
<span>HTML parser</span> or <span>XML parser</span>, then jump to
the last step in the overall set of steps (fallback).</p>
<span>HTML parser</span> or <span>XML parser</span>, or if the
element is not <span>being rendered</span>, then jump to the last
step in the overall set of steps (fallback).</p>

</li>

@@ -28706,12 +28713,6 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<code>object</code> element's <code>Document</code>'s <span>active
sandboxing flag set</span>.</p>

<p class="note">The above algorithm is independent of CSS properties
(including 'display', 'overflow', and 'visibility'). For example, it
runs even if the element is hidden with a 'display:none' CSS style,
and does not run <em>again</em> if the element's visibility
changes.</p>

<p>Due to the algorithm above, the contents of <code>object</code>
elements act as <span>fallback content</span>, used only when
referenced resources can't be shown (e.g. because it returned a 404
@@ -93888,7 +93889,7 @@ any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF

<li><p>If the <var title="">data</var> buffer is an empty string,
set the <var title="">data</var> buffer and the <var title="">event
name</var> buffer to the empty string and abort these
type</var> buffer to the empty string and abort these
steps.</p></li>

<li><p>If the <var title="">data</var> buffer's last character is a

0 comments on commit ea5fbb5

Please sign in to comment.