[Webkit-unassigned] [Bug 32541] New: Percentage height should be ignored in some cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 14 23:37:19 PST 2009


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

           Summary: Percentage height should be ignored in some cases
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://www.w3.org/TR/CSS2/visudet.html#the-height-prop
                    erty
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tkent at chromium.org


Open LayoutTests/fast/replaced/table-percent-height.html with Firefox, IE8, or
Opera.  The page has some pairs of 75%-height element and 100%-height element. 
You'll see each of pairs has identical elements with these browsers, and not
with WebKit browsers.
Other browsers ignore "height:N%" in it because of the following rule of CSS
2.1:

<percentage>
    Specifies a percentage height. The percentage is calculated with respect to
the height
    of the generated box's containing block. If the height of the containing
block is not
    specified explicitly (i.e., it depends on content height), and this element
is not absolutely
    positioned, the value computes to 'auto'. A percentage height on the root
element is
    relative to the initial containing block. 

We should fix this because of browser compatibility and standard compliance.

-- 
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