[Webkit-unassigned] [Bug 118516] New: % unit heights don't work if parent block height is set in vh

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 9 11:02:13 PDT 2013


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

           Summary: % unit heights don't work if parent block height is
                    set in vh
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://crbug.com/225664
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at twkie.net


Created an attachment (id=206343)
 --> (https://bugs.webkit.org/attachment.cgi?id=206343&action=review)
screenshot

What steps will reproduce the problem?
1. Place below code in body 

<div id="outer" style="height: 50vh; width: 50vw; background-color: lightcyan; border: solid 1px black;" >
    <div id="inner" style="width: 50%; height: 50%; background-color: lightseagreen; border: solid 1px black;"></div>
</div>

What is the expected result?
You should see a seagreen box inside a lightcyan one.

What happens instead?
The inner box has a height of 0.

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