[Webkit-unassigned] [Bug 18714] New: Sub-elements do not expand when parent elements do if min-width/height is applied to parent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 24 08:10:17 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18714

           Summary: Sub-elements do not expand when parent elements do if
                    min-width/height is applied to parent
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: All
               URL: http://ironman.vh1.com/test-case.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: scott at firefallpro.com


Sub-elements set to 100% width and height do not properly resize with parents
if the parent element has min-width/height applied via CSS. Removal of the
min-width/height specification returns resizing to normal.

This situation does not occur in Firefox 2.0.0.14 or in IE 7. This occurs in
Safari 3.1.1 (10.5, Win XP) and Webkit nightly r32416 (10.5).

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>Untitled</title>
        <meta name="generator" content="BBEdit 8.7">
        <style type="text/css">
<!--
        html,
        body,
        div#test1,
        div#test2 {
                width: 100%;
                height: 100%;
        }

        div#test1,
        div#test2 {
                border: 1px black solid;
        }

        div#test1 {
                min-height: 1000px;
                min-width: 1000px;
        }
-->
</style>
</head>
<body>
        <div id="test1">
                <div id="test2">
                        <p>Content</p>
                </div>
        </div>
</body>
</html>


-- 
Configure bugmail: http://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