[Webkit-unassigned] [Bug 98415] New: New value needed for CSS height property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 4 08:58:39 PDT 2012


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

           Summary: New value needed for CSS height property
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nickshanks at nickshanks.com


The only way to make an element inside a table cell fill the cell's height is to set the height of an ancestor element to a fixed value. This is undesirable and I consider it to be a bug in the CSS specifications.

I propose WebKit introduce a new value, -webkit-full (or -webkit-cell-height, or something along those lines).
The new value would not make the row height grow, but would just fill any available vertical space (just as 'display:block' fills up any available horizontal space) after the row height has been computed as per current behaviour.

Undesired result (but displays correctly per the specs):

<!DOCTYPE HTML>
<table style="width:10em;table-layout:fixed"><col><col><tr>
<td>this cell has loads of (variable) content to make it several lines tall
<td><div style="height:100%">not full height of cell</div>
</table>


Desired option:

<!DOCTYPE HTML>
<table style="width:10em;table-layout:fixed"><col><col><tr>
<td>this cell has loads of content to make it several lines long
<td><div style="height:-webkit-full">full height of cell</div>
</table>



Note, this is not asking for the same thing as bug #5004, bug #12934, or bug #52100

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