<?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>45439</bug_id>
          
          <creation_ts>2010-09-08 23:00:03 -0700</creation_ts>
          <short_desc>Images with percent height inside a floated div should use intrinsic height.</short_desc>
          <delta_ts>2011-10-31 08:29:35 -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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          <dependson>47156</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Luke Macpherson">macpherson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>276318</commentid>
    <comment_count>0</comment_count>
    <who name="Luke Macpherson">macpherson</who>
    <bug_when>2010-09-08 23:00:03 -0700</bug_when>
    <thetext>For the following snippet:
&lt;div style=&quot;float: left;&quot;&gt;
  &lt;img style=&quot;width: 100%; height: 100%;&quot;/&gt;
&lt;/div&gt;

Webkit renders the image with height 100% of the window, while IE and Firefox render the image at the intrinsic height of the image.

See chromium bug: http://code.google.com/p/chromium/issues/detail?id=29380</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>441368</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-07-23 05:01:48 -0700</bug_when>
    <thetext>47156 fixes this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>493322</commentid>
    <comment_count>2</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2011-10-31 08:29:35 -0700</bug_when>
    <thetext>Fixed in r98852.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>