[html5] r3288 - [e] (0) Annotate some possible hacks we'll have to add for <embed> and <object>.

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 16 16:04:09 PDT 2009


Author: ianh
Date: 2009-06-16 16:04:07 -0700 (Tue, 16 Jun 2009)
New Revision: 3288

Modified:
   index
   source
Log:
[e] (0) Annotate some possible hacks we'll have to add for <embed> and <object>.

Modified: index
===================================================================
--- index	2009-06-16 23:01:34 UTC (rev 3287)
+++ index	2009-06-16 23:04:07 UTC (rev 3288)
@@ -18265,7 +18265,7 @@
 
   <h4 id=the-embed-element><span class=secno>4.8.4 </span>The <dfn><code>embed</code></dfn> element</h4>
 
-<!--
+<!-- (v2?)
  we have all kinds of quirks we should define if they come up during
  testing, as e.g. shown in:
  http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp
@@ -18587,6 +18587,21 @@
 
    </li>
 
+   <!-- (v2?)
+   we may have to define magic fallback to <param> if it turns out to
+   be needed in testing:
+   <hyatt> apparently your url can come from <param>
+   <hyatt> not just the data attribute
+   <hyatt> our code looks for params with "src", "movie", "code" and "url"
+   <hyatt> and also tries to find the type on a param
+   <Hixie> oh that's you trying to have hacky activex support
+   <Hixie> opera does that too
+   <hyatt> yeah we support activex versions of plugins that are common
+   <hyatt> like flash and quicktime and realaudio
+   <Hixie> that would be a step 1b. if no data attribute, then look for a <param> to get you a URL instead.
+   <Hixie> and if you find one, carry on as if that was your data="".
+   -->
+
    <li><p>If the <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute
    is present, then:</p>
 
@@ -18826,19 +18841,6 @@
   different capabilities, with the user agent picking the first one it
   supports.</p>
 
-<!-- XXX
-<hyatt> apparently your url can come from <param>
-<hyatt> not just the data attribute
-<hyatt> our code looks for params with "src", "movie", "code" and "url"
-<hyatt> and also tries to find the type on a param
-<Hixie> oh that's you trying to have hacky activex support
-<Hixie> opera does that too
-<hyatt> yeah we support activex versions of plugins that are common
-<hyatt> like flash and quicktime and realaudio
-<Hixie> that would be a step 1b. if no data attribute, then look for a <param> to get you a URL instead.
-<Hixie> and if you find one, carry on as if that was your data="".
--->
-
   <p>Whenever the <code title=attr-object-name><a href=#attr-object-name>name</a></code> attribute
   is set, if the <code><a href=#the-object-element>object</a></code> element has a nested
   <a href=#browsing-context>browsing context</a>, its <a href=#browsing-context-name title="browsing context

Modified: source
===================================================================
--- source	2009-06-16 23:01:34 UTC (rev 3287)
+++ source	2009-06-16 23:04:07 UTC (rev 3288)
@@ -19454,7 +19454,7 @@
 
   <h4>The <dfn><code>embed</code></dfn> element</h4>
 
-<!--
+<!-- (v2?)
  we have all kinds of quirks we should define if they come up during
  testing, as e.g. shown in:
  http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp
@@ -19812,6 +19812,21 @@
 
    </li>
 
+   <!-- (v2?)
+   we may have to define magic fallback to <param> if it turns out to
+   be needed in testing:
+   <hyatt> apparently your url can come from <param>
+   <hyatt> not just the data attribute
+   <hyatt> our code looks for params with "src", "movie", "code" and "url"
+   <hyatt> and also tries to find the type on a param
+   <Hixie> oh that's you trying to have hacky activex support
+   <Hixie> opera does that too
+   <hyatt> yeah we support activex versions of plugins that are common
+   <hyatt> like flash and quicktime and realaudio
+   <Hixie> that would be a step 1b. if no data attribute, then look for a <param> to get you a URL instead.
+   <Hixie> and if you find one, carry on as if that was your data="".
+   -->
+
    <li><p>If the <code title="attr-object-data">data</code> attribute
    is present, then:</p>
 
@@ -20076,19 +20091,6 @@
   different capabilities, with the user agent picking the first one it
   supports.</p>
 
-<!-- XXX
-<hyatt> apparently your url can come from <param>
-<hyatt> not just the data attribute
-<hyatt> our code looks for params with "src", "movie", "code" and "url"
-<hyatt> and also tries to find the type on a param
-<Hixie> oh that's you trying to have hacky activex support
-<Hixie> opera does that too
-<hyatt> yeah we support activex versions of plugins that are common
-<hyatt> like flash and quicktime and realaudio
-<Hixie> that would be a step 1b. if no data attribute, then look for a <param> to get you a URL instead.
-<Hixie> and if you find one, carry on as if that was your data="".
--->
-
   <p>Whenever the <code title="attr-object-name">name</code> attribute
   is set, if the <code>object</code> element has a nested
   <span>browsing context</span>, its <span title="browsing context




More information about the Commit-Watchers mailing list