W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/spec Overview.html,1.4916,1.4917

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 06 May 2011 23:24:01 +0000
To: public-html-commits@w3.org
Message-Id: <E1QIUNO-0006ob-0E@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv26177

Modified Files:
	Overview.html 
Log Message:
Change how document[name] works to be compatible with both IE (which typically are targetted with <object>) and other UAs (which typically are targetted with <embed>). (whatwg r6115)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4916
retrieving revision 1.4917
diff -u -d -r1.4916 -r1.4917
--- Overview.html	6 May 2011 22:49:15 -0000	1.4916
+++ Overview.html	6 May 2011 23:23:58 -0000	1.4917
@@ -8026,18 +8026,21 @@
   named properties">supports named properties</span>. The
   <a href="#supported-property-names">supported property names</a> at any moment consist of the
   values of the <code title="attr-name">name</code> content attributes
-  of all the <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-embed-element">embed</a></code>,
-  <code><a href="#the-form-element">form</a></code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, and
-  <a href="#fallback-free">fallback-free</a> <code><a href="#the-object-element">object</a></code> elements in the
-  <code><a href="#document">Document</a></code> that have <code title="attr-name">name</code>
-  content attributes, and the values of the <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes of all the
-  <code><a href="#the-applet-element">applet</a></code> and <a href="#fallback-free">fallback-free</a>
-  <code><a href="#the-object-element">object</a></code> elements in the <code><a href="#document">Document</a></code> that have
-  <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes, and the values
-  of the <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes of all the
-  <code><a href="#the-img-element">img</a></code> elements in the <code><a href="#document">Document</a></code> that have
-  both <code title="attr-name">name</code> content attributes and
-  <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes.</p>
+  of all the
+    <code><a href="#the-applet-element">applet</a></code>,
+    <a href="#exposed">exposed</a> <code><a href="#the-embed-element">embed</a></code>,
+    <code><a href="#the-form-element">form</a></code>,
+    <code><a href="#the-iframe-element">iframe</a></code>,
+    <code><a href="#the-img-element">img</a></code>, and
+    <a href="#exposed">exposed</a> <code><a href="#the-object-element">object</a></code>
+  elements in the <code><a href="#document">Document</a></code> that have <code title="attr-name">name</code> content attributes, and the values of
+  the <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes of all the
+    <code><a href="#the-applet-element">applet</a></code> and
+    <a href="#exposed">exposed</a> <code><a href="#the-object-element">object</a></code>
+  elements in the <code><a href="#document">Document</a></code> that have <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes, and the values of the
+  <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes of all the
+    <code><a href="#the-img-element">img</a></code>
+  elements in the <code><a href="#document">Document</a></code> that have both <code title="attr-name">name</code> content attributes and <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attributes.</p>
 
   <p>When <dfn id="dom-document-nameditem" title="dom-document-namedItem">the
   <code>HTMLDocument</code> object is indexed for property
@@ -8083,20 +8086,21 @@
   with the name <var title="">name</var>, for the purposes of the
   above algorithm, are those that are either:</p>
 
-  <ul><li><code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-form-element">form</a></code>,
-   <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, or
-   <a href="#fallback-free">fallback-free</a> <code><a href="#the-object-element">object</a></code> elements that have a
-   <code title="attr-name">name</code> content attribute whose value
-   is <var title="">name</var>, or</li>
+  <ul><li><code><a href="#the-applet-element">applet</a></code>, <a href="#exposed">exposed</a> <code><a href="#the-embed-element">embed</a></code>,
+   <code><a href="#the-form-element">form</a></code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, or
+   <a href="#exposed">exposed</a> <code><a href="#the-object-element">object</a></code> elements that have a <code title="attr-name">name</code> content attribute whose value is <var title="">name</var>, or</li>
 
-   <li><code><a href="#the-applet-element">applet</a></code> or <a href="#fallback-free">fallback-free</a>
-   <code><a href="#the-object-element">object</a></code> elements that have an <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attribute whose value is <var title="">name</var>, or</li>
+   <li><code><a href="#the-applet-element">applet</a></code> or <a href="#exposed">exposed</a> <code><a href="#the-object-element">object</a></code>
+   elements that have an <code title="attr-id"><a href="#the-id-attribute">id</a></code> content
+   attribute whose value is <var title="">name</var>, or</li>
 
    <li><code><a href="#the-img-element">img</a></code> elements that have an <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attribute whose value is <var title="">name</var>, and that have a <code title="attr-name">name</code> content attribute present also.</li>
 
-  </ul><p>An <code><a href="#the-object-element">object</a></code> element is said to be
-  <dfn id="fallback-free">fallback-free</dfn> if it has no <code><a href="#the-object-element">object</a></code> or
-  <code><a href="#the-embed-element">embed</a></code> descendants.</p>
+  </ul><p>An <code><a href="#the-embed-element">embed</a></code> or <code><a href="#the-object-element">object</a></code> element is said to
+  be <dfn id="exposed">exposed</dfn> if it has no <a href="#exposed">exposed</a>
+  <code><a href="#the-object-element">object</a></code> ancestor, and, for <code><a href="#the-object-element">object</a></code> elements,
+  is additionally either not showing its <a href="#fallback-content">fallback content</a>
+  or has no <code><a href="#the-object-element">object</a></code> or <code><a href="#the-embed-element">embed</a></code> descendants.</p>
 
   </div><hr><p class="note">The <code title="dom-document-dir"><a href="#dom-document-dir">dir</a></code>
   attribute on the <code><a href="#htmldocument">HTMLDocument</a></code> interface is defined
Received on Friday, 6 May 2011 23:24:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 May 2011 23:24:06 GMT