hixie: Say what the infinite attributes on <embed> are for. (whatwg r3968)

hixie: Say what the infinite attributes on <embed> are for. (whatwg
r3968)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3129&r2=1.3130&f=h
http://html5.org/tools/web-apps-tracker?from=3967&to=3968

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3129
retrieving revision 1.3130
diff -u -d -r1.3129 -r1.3130
--- Overview.html 22 Sep 2009 10:57:39 -0000 1.3129
+++ Overview.html 22 Sep 2009 11:12:26 -0000 1.3130
@@ -17738,7 +17738,8 @@
   <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 .. U+005A (LATIN CAPITAL LETTER A LATIN CAPITAL LETTER
-  Z).<p class="note">All attributes in <a href="#html-documents">HTML documents</a> get
+  Z). These attributes are then passed as parameters to the
+  <a href="#plugin">plugin</a>.<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.<div class="impl">
 
@@ -17769,6 +17770,18 @@
    plug-in vendor doesn't support the user's platform), then the user
    will be unable to use the resource.</p>
 
+   <p>To pass the plugin a parameter "quality" with the value "high",
+   an attribute can be specified:</p>
+
+   <pre>&lt;embed src="catgame.swf" quality="high"&gt;</pre>
+
+   <p>This would be equivalent to the following, when using an
+   <code><a href="#the-object-element">object</a></code> element instead:</p>
+
+   <pre>&lt;object data="catgame.swf"&gt;
+ &lt;param name="quality" value="high"&gt;
+&lt;/object&gt;</pre>
+
   </div><h4 id="the-object-element"><span class="secno">4.8.5 </span>The <dfn><code>object</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i><dl class="element"><dt>Categories</dt>
    <dd><a href="#flow-content">Flow content</a>.</dd>
    <dd><a href="#phrasing-content">Phrasing content</a>.</dd>

Received on Tuesday, 22 September 2009 11:13:22 UTC