Skip to content
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...
Hixie committed Sep 22, 2009
1 parent 560d775 commit c25e231a5f0d7fbe70ee03237241c6b3aab92aea
Showing with 28 additions and 2 deletions.
  1. +14 −1 index
  2. +14 −1 source
15 index
<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
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>


15 source
<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
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.
You can’t perform that action at this time.