<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>86682</bug_id>
          
          <creation_ts>2012-05-16 15:14:31 -0700</creation_ts>
          <short_desc>&lt;embed&gt; and &lt;object&gt; width and height do not interact properly</short_desc>
          <delta_ts>2012-05-29 12:03:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://code.google.com/p/chromium/issues/detail?id=127907</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Hogan">robert</reporter>
          <assigned_to name="Robert Hogan">robert</assigned_to>
          <cc>ap</cc>
    
    <cc>eric</cc>
    
    <cc>robert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>625912</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2012-05-16 15:14:31 -0700</bug_when>
    <thetext>Reduction:

   &lt;OBJECT classid&gt;
   &lt;PARAM NAME=movie VALUE=&quot;eat.swf&quot;&gt; &lt;PARAM NAME=menu VALUE=false&gt; &lt;PARAM  NAME=quality VALUE=high&gt; &lt;PARAM NAME=bgcolor VALUE=#231f1c&gt; &lt;EMBED src=&quot;eat.swf&quot; menu=false quality=high bgcolor=#231f1c  WIDTH=&quot;100&quot; HEIGHT=&quot;180&quot; NAME=&quot;eat&quot; ALIGN=&quot;&quot;
 TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;http://www.macromedia.com/go/getflashplayer&quot;&gt;&lt;/EMBED&gt;
    &lt;/OBJECT&gt;
​
See also https://bugs.webkit.org/show_bug.cgi?id=17688#add_comment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>625916</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2012-05-16 15:16:30 -0700</bug_when>
    <thetext>http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>625940</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2012-05-16 15:39:15 -0700</bug_when>
    <thetext>The culprit seems to be:

&lt;object&gt;&lt;PARAM NAME=movie VALUE=&quot;eat.swf&quot;&gt;

Specifying a source for the object element results in the dimensions for the embedded object getting ignored.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>628600</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2012-05-20 11:51:21 -0700</bug_when>
    <thetext>
If you try this reduction you can see different results for Opera/FF/IE8 vs WebKit: http://jsfiddle.net/yZ6zV/

HTMLObjectElement::parametersForPlugin() special-cases &apos;movie&apos; as a PARAM NAME and attempts to load the value passed to it - it looks like no other browser does this. It&apos;s done for &apos;compatibility&apos; - presumably with WebKit-apps rather than other browsers.

Adobe says that flash requires a width and height parameter in the OBJECT element and these are missing in the site reporting the issue (http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html).

So this looks like a combination of WebKit-specific behaviour and invalid code from the reporter.

Is the bug invalid?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>