[html5] r4232 - [ac] (0) Exclude legacy attributes from <embed>'s 'any attribute' policy. Fixing [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 20 23:33:10 PDT 2009


Author: ianh
Date: 2009-10-20 23:33:06 -0700 (Tue, 20 Oct 2009)
New Revision: 4232

Modified:
   complete.html
   index
   source
Log:
[ac] (0) Exclude legacy attributes from <embed>'s 'any attribute' policy.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7897

Modified: complete.html
===================================================================
--- complete.html	2009-10-21 06:20:38 UTC (rev 4231)
+++ complete.html	2009-10-21 06:33:06 UTC (rev 4232)
@@ -20850,17 +20850,21 @@
 
   </div>
 
-  <p>Any (namespace-less) attribute may be specified on the
-  <code><a href=#the-embed-element>embed</a></code> element, so long as its name is
-  <a href=#xml-compatible>XML-compatible</a> and contains no characters in the range
-  U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
-  Z). These attributes are then passed as parameters to the
-  <a href=#plugin>plugin</a>.</p>
+  <p>Any namespace-less attribute other than <code title=attr-embed-name><a href=#attr-embed-name>name</a></code> and <code title=attr-embed-align><a href=#attr-embed-align>align</a></code> <!-- when editing, see also
+  note below --> may be specified on the <code><a href=#the-embed-element>embed</a></code> element,
+  so long as its name is <a href=#xml-compatible>XML-compatible</a> and contains no
+  characters in the range U+0041 to U+005A (LATIN CAPITAL LETTER A to
+  LATIN CAPITAL LETTER Z). These attributes are then passed as
+  parameters to the <a href=#plugin>plugin</a>.</p>
 
   <p class=note>All attributes in <a href=#html-documents>HTML documents</a> get
   lowercased automatically, so the restriction on uppercase letters
   doesn't affect such documents.</p>
 
+  <p class=note>The two exceptions are to exclude legacy attributes
+  that have side-effects beyond just sending parameters to the
+  <a href=#plugin>plugin</a>.</p>
+
   <div class=impl>
 
   <p>The user agent should pass the names and values of all the

Modified: index
===================================================================
--- index	2009-10-21 06:20:38 UTC (rev 4231)
+++ index	2009-10-21 06:33:06 UTC (rev 4232)
@@ -20680,17 +20680,21 @@
 
   </div>
 
-  <p>Any (namespace-less) attribute may be specified on the
-  <code><a href=#the-embed-element>embed</a></code> element, so long as its name is
-  <a href=#xml-compatible>XML-compatible</a> and contains no characters in the range
-  U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
-  Z). These attributes are then passed as parameters to the
-  <a href=#plugin>plugin</a>.</p>
+  <p>Any namespace-less attribute other than <code title=attr-embed-name><a href=#attr-embed-name>name</a></code> and <code title=attr-embed-align><a href=#attr-embed-align>align</a></code> <!-- when editing, see also
+  note below --> may be specified on the <code><a href=#the-embed-element>embed</a></code> element,
+  so long as its name is <a href=#xml-compatible>XML-compatible</a> and contains no
+  characters in the range U+0041 to U+005A (LATIN CAPITAL LETTER A to
+  LATIN CAPITAL LETTER Z). These attributes are then passed as
+  parameters to the <a href=#plugin>plugin</a>.</p>
 
   <p class=note>All attributes in <a href=#html-documents>HTML documents</a> get
   lowercased automatically, so the restriction on uppercase letters
   doesn't affect such documents.</p>
 
+  <p class=note>The two exceptions are to exclude legacy attributes
+  that have side-effects beyond just sending parameters to the
+  <a href=#plugin>plugin</a>.</p>
+
   <div class=impl>
 
   <p>The user agent should pass the names and values of all the

Modified: source
===================================================================
--- source	2009-10-21 06:20:38 UTC (rev 4231)
+++ source	2009-10-21 06:33:06 UTC (rev 4232)
@@ -22161,17 +22161,23 @@
 
   </div>
 
-  <p>Any (namespace-less) attribute may be specified on the
-  <code>embed</code> element, so long as its name is
-  <span>XML-compatible</span> and contains no characters in the range
-  U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
-  Z). These attributes are then passed as parameters to the
-  <span>plugin</span>.</p>
+  <p>Any namespace-less attribute other than <code
+  title="attr-embed-name">name</code> and <code
+  title="attr-embed-align">align</code> <!-- when editing, see also
+  note below --> may be specified on the <code>embed</code> element,
+  so long as its name is <span>XML-compatible</span> and contains no
+  characters in the range U+0041 to U+005A (LATIN CAPITAL LETTER A to
+  LATIN CAPITAL LETTER Z). These attributes are then passed as
+  parameters to the <span>plugin</span>.</p>
 
   <p class="note">All attributes in <span>HTML documents</span> get
   lowercased automatically, so the restriction on uppercase letters
   doesn't affect such documents.</p>
 
+  <p class="note">The two exceptions are to exclude legacy attributes
+  that have side-effects beyond just sending parameters to the
+  <span>plugin</span>.</p>
+
   <div class="impl">
 
   <p>The user agent should pass the names and values of all the
@@ -89993,7 +89999,6 @@
   </dl>
 
 
-
   <div class="impl">
 
   <h3>Requirements for implementations</h3>




More information about the Commit-Watchers mailing list