[html5] r3968 - [e] (0) Say what the infinite attributes on <embed> are for. Fixing http://www.w [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 22 04:19:22 PDT 2009
Author: ianh
Date: 2009-09-22 04:19:21 -0700 (Tue, 22 Sep 2009)
New Revision: 3968
Modified:
index
source
Log:
[e] (0) Say what the infinite attributes on <embed> are for.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7576
Modified: index
===================================================================
--- index 2009-09-22 11:04:35 UTC (rev 3967)
+++ index 2009-09-22 11:19:21 UTC (rev 3968)
@@ -20302,7 +20302,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>
+ 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
@@ -20343,6 +20344,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><embed src="catgame.swf" quality="high"></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><object data="catgame.swf">
+ <param name="quality" value="high">
+</object></pre>
+
</div>
Modified: source
===================================================================
--- source 2009-09-22 11:04:35 UTC (rev 3967)
+++ source 2009-09-22 11:19:21 UTC (rev 3968)
@@ -21764,7 +21764,8 @@
<code>embed</code> element, so long as its name is
<span>XML-compatible</span> and contains no characters in the range
U+0041 .. U+005A (LATIN CAPITAL LETTER A LATIN CAPITAL LETTER
- Z).</p>
+ 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
@@ -21807,6 +21808,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><embed src="catgame.swf" quality="high"></pre>
+
+ <p>This would be equivalent to the following, when using an
+ <code>object</code> element instead:</p>
+
+ <pre><object data="catgame.swf">
+ <param name="quality" value="high">
+</object></pre>
+
</div>
More information about the Commit-Watchers
mailing list