[Webkit-unassigned] [Bug 25442] New: percentage base offset from top (bottom) is incorrect when containing block has no height specified.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 28 01:03:23 PDT 2009


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

           Summary: percentage base offset from top (bottom) is incorrect
                    when containing block has no height specified.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: phiw at l-c-n.com


A change set between r41698 and r41545 changed the behaviour of percentage
based offsets for the top and bottom property – to be more in line with
CSS2.1:9.3.2
However, when the containing block has no height (auto) specified, the
percentage is computed based on the height of the viewport, _not_ as specified,
the height of the containing block.

>From CSS2.1:9.3.2
<percentage>
    The offset is a percentage of the containing block's width (for 'left' or
'right') or height (for 'top' and 'bottom'). Negative values are allowed.

http://www.w3.org/TR/CSS21/visuren.html#position-props


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



More information about the webkit-unassigned mailing list