Permalink
Browse files

[e] (0) Say what the infinite attributes on <embed> are for.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7576

git-svn-id: http://svn.whatwg.org/webapps@3968 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 560d775 commit c25e231a5f0d7fbe70ee03237241c6b3aab92aea @Hixie Hixie committed Sep 22, 2009
Showing with 28 additions and 2 deletions.
  1. +14 −1 index
  2. +14 −1 source
View
15 index
@@ -20302,7 +20302,8 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<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 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
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>
View
15 source
@@ -21764,7 +21764,8 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<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 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
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"></pre>
+
+ <p>This would be equivalent to the following, when using an
+ <code>object</code> element instead:</p>
+
+ <pre>&lt;object data="catgame.swf">
+ &lt;param name="quality" value="high">
+&lt;/object></pre>
+
</div>

0 comments on commit c25e231

Please sign in to comment.