<?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>54356</bug_id>
          
          <creation_ts>2011-02-13 08:46:46 -0800</creation_ts>
          <short_desc>Relative width or height on video element make controls float away from the actual video</short_desc>
          <delta_ts>2011-02-13 16:26:52 -0800</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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>53020</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov (Google)">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov (Google)">dglazkov</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>scherkus</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>350397</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2011-02-13 08:46:46 -0800</bug_when>
    <thetext>http://jsfiddle.net/dglazkov/BJTgu/2/embedded/result/ -- resize the screen to see the stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>350462</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2011-02-13 15:07:14 -0800</bug_when>
    <thetext>The &lt;video&gt; is in an iframe, which is in a 1041px height div. A video is supposed to maintain its aspect ratio and render &quot;inside the element&apos;s playback area such that the video content is shown centered in the playback area at the largest possible size that fits completely within it, with the video content&apos;s aspect ratio being preserved. Thus, if the aspect ratio of the playback area does not match the aspect ratio of the video, the video will be shown letterboxed or pillarboxed.&quot;

The controls are always along the bottom of the element, so when the browser window is not wide enough the video is letterboxed and the controls aren&apos;t near the bottom of the video.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>350482</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2011-02-13 16:26:52 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; The &lt;video&gt; is in an iframe, which is in a 1041px height div. A video is supposed to maintain its aspect ratio and render &quot;inside the element&apos;s playback area such that the video content is shown centered in the playback area at the largest possible size that fits completely within it, with the video content&apos;s aspect ratio being preserved. Thus, if the aspect ratio of the playback area does not match the aspect ratio of the video, the video will be shown letterboxed or pillarboxed.&quot;
&gt; 
&gt; The controls are always along the bottom of the element, so when the browser window is not wide enough the video is letterboxed and the controls aren&apos;t near the bottom of the video.

DOOOOOOH. Setting background: Black explains this all.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>