[html5] r7100 - [giow] (2) Sad as it may be, CSS affects whether plugins are instantiated. Affec [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue May 8 13:44:46 PDT 2012


Author: ianh
Date: 2012-05-08 13:44:45 -0700 (Tue, 08 May 2012)
New Revision: 7100

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Sad as it may be, CSS affects whether plugins are instantiated.
Affected topics: HTML, Server-Sent Events

Modified: complete.html
===================================================================
--- complete.html	2012-05-08 19:51:44 UTC (rev 7099)
+++ complete.html	2012-05-08 20:44:45 UTC (rev 7100)
@@ -4342,7 +4342,7 @@
   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,27 +26094,32 @@
 
   <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>
 
     <p>If the user has indicated a preference that this
@@ -26137,8 +26142,9 @@
     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 @@
   <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 @@
 
    <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

Modified: index
===================================================================
--- index	2012-05-08 19:51:44 UTC (rev 7099)
+++ index	2012-05-08 20:44:45 UTC (rev 7100)
@@ -4342,7 +4342,7 @@
   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,27 +26094,32 @@
 
   <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>
 
     <p>If the user has indicated a preference that this
@@ -26137,8 +26142,9 @@
     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 @@
   <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 @@
 
    <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

Modified: source
===================================================================
--- source	2012-05-08 19:51:44 UTC (rev 7099)
+++ source	2012-05-08 20:44:45 UTC (rev 7100)
@@ -3358,7 +3358,7 @@
   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,31 +28075,37 @@
 
   <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>
 
    <li>
@@ -28124,8 +28130,9 @@
     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 @@
   <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 @@
 
    <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




More information about the Commit-Watchers mailing list