[html5] r1928 - [e] (0) make notes about craziness of <embed>

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 23 23:19:17 PDT 2008


Author: ianh
Date: 2008-07-23 23:19:17 -0700 (Wed, 23 Jul 2008)
New Revision: 1928

Modified:
   index
   source
Log:
[e] (0) make notes about craziness of <embed>

Modified: index
===================================================================
--- index	2008-07-24 03:06:25 UTC (rev 1927)
+++ index	2008-07-24 06:19:17 UTC (rev 1928)
@@ -16437,6 +16437,21 @@
 
   <h4 id=the-embed><span class=secno>4.7.4 </span>The <dfn
    id=embed><code>embed</code></dfn> element</h4>
+  <!--
+ XXX we have all kinds of quirks we should define, as e.g. shown in:
+ http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp
+ http://trac.webkit.org/browser/trunk/WebCore/html/HTMLEmbedElement.cpp
+ http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderPartObject.cpp (updateWidget)
+ e.g. - 240x200 default
+      - the attributes/params are sent in a name/value pair list as follows (for Gecko):
+         + attributes of the element, in source order
+         + a synthesised 'src' attribute, if there was no 'src' but
+           there was a 'data', with the value of the 'data' attribute
+         + PARAM/null
+         + the params, in source order
+        (WebKit does something different still)
+      - the HIDDEN attribute
+-->
 
   <dl class=element>
    <dt>Categories

Modified: source
===================================================================
--- source	2008-07-24 03:06:25 UTC (rev 1927)
+++ source	2008-07-24 06:19:17 UTC (rev 1928)
@@ -14077,6 +14077,22 @@
 
   <h4>The <dfn><code>embed</code></dfn> element</h4>
 
+<!--
+ XXX we have all kinds of quirks we should define, as e.g. shown in:
+ http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp
+ http://trac.webkit.org/browser/trunk/WebCore/html/HTMLEmbedElement.cpp
+ http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderPartObject.cpp (updateWidget)
+ e.g. - 240x200 default
+      - the attributes/params are sent in a name/value pair list as follows (for Gecko):
+         + attributes of the element, in source order
+         + a synthesised 'src' attribute, if there was no 'src' but
+           there was a 'data', with the value of the 'data' attribute
+         + PARAM/null
+         + the params, in source order
+        (WebKit does something different still)
+      - the HIDDEN attribute
+-->
+
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Embedded content</span>.</dd>




More information about the Commit-Watchers mailing list