<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>98415</bug_id>
          
          <creation_ts>2012-10-04 08:59:06 -0700</creation_ts>
          <short_desc>New value needed for CSS height property</short_desc>
          <delta_ts>2022-07-13 11:13:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nicholas Shanks">nickshanks</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>734733</commentid>
    <comment_count>0</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2012-10-04 08:59:06 -0700</bug_when>
    <thetext>The only way to make an element inside a table cell fill the cell&apos;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 &apos;display:block&apos; 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):

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


Desired option:

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



Note, this is not asking for the same thing as bug #5004, bug #12934, or bug #52100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883199</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-13 11:13:52 -0700</bug_when>
    <thetext>It seems like this should be addressed in the relevant WG before we attempt to build something in WebKit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>