[Webkit-unassigned] [Bug 40475] New: Wrong computed height for replaced elements with percentage height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 11 07:03:06 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40475

           Summary: Wrong computed height for replaced elements with
                    percentage height
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: anders.edenbrandt at sonyericsson.com


According to CSS 2.1 section 10.6.2, replaced elements with a percentage height
should have a computed height of 'auto' if the containing block does not have
an explicit height. 

For example, an image element like this should be shown as a square:

  <p>
   <img src="resources/square-blue-100x100.png" width="100" height="50%">
  </p>

Other browsers (IE8, Firefox, Opera) get this right, provided they are in strict mode.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list