[Bug 17621] New: Can "height" automatically occupy the remaining space of parent DOM?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17621

           Summary: Can "height"  automatically occupy the remaining space
                    of parent DOM?
           Product: CSS
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Positioned Layout
        AssignedTo: dave.null@w3.org
        ReportedBy: eric.sun@huawei.com
         QAContact: public-css-bugzilla@w3.org


Hi CSS guys:

let me assume that parent DOM has three child DOM which are a, b, c

<div id="parent" style="height:300px;">
       <div id="child a" style="height:30px;"></div>
       <div id="child b"style="height:100%;"></div>
        <div id="child c" style="height:60px;"></div>
</div>

if we declare style like above, the div b's height will be 300px the same with
div parent, and the total height of a+b+c will e 390px, which will exceed
parent dom's height 300px.

I want to propose that, can we let height not equal to parent DOM's height, but
equal to parent DOM's remaining height, which in this example will be
"300-30-60" px.

comments and suggestions are welcome

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 28 June 2012 02:03:02 UTC