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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15462</bug_id>
          
          <creation_ts>2012-01-08 21:53:19 +0000</creation_ts>
          <short_desc>Does auto-height table row height depend on padding+border of cells or just height?</short_desc>
          <delta_ts>2012-12-04 00:51:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSS Level 2</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Anton P">antonsforums</reporter>
          <assigned_to name="Bert Bos">bert</assigned_to>
          <cc>info</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62398</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-08 21:53:19 +0000</bug_when>
    <thetext>Reported by fantasai.

17.5.3 (Table height algorithms)
[http://www.w3.org/TR/CSS21/tables.html#height-layout] says:

  # The height of a &apos;table-row&apos; element&apos;s box is calculated once the user agent
  # has all the cells in the row available: it is the maximum of the row&apos;s
  # computed &apos;height&apos;, the computed &apos;height&apos; of each cell in the row, and the
  # minimum height (MIN) required by the cells. A &apos;height&apos; value of &apos;auto&apos; for
  # a &apos;table-row&apos; means the row height used for layout is MIN.

Is &apos;height&apos; on the table cell added to its border+padding and then applied as a minimum on the row, or is it directly applied to the row box?

Conversation begins: http://lists.w3.org/Archives/Public/www-style/2011Nov/0515.html

Bug description: http://lists.w3.org/Archives/Public/www-style/2011Nov/0750.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62399</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-08 21:53:48 +0000</bug_when>
    <thetext>It appears we do not have interop on this.

Gérard has written some tests to demonstrate:
  http://www.gtalbot.org/BrowserBugsSection/css21testsuite/height-cell-bc-collapse.html
  http://www.gtalbot.org/BrowserBugsSection/css21testsuite/height-cell-bc-separate.html

He reports that Firefox 7+, Opera 11.52 and Konqueror 4.7.3 render no green in
height-cell-bc-separate (i.e. they apply the &apos;height&apos; directly to the row box)
whereas IE8, IE9, Chrome 15.0.874.121 and Safari 5.1.1 render a green square
with thick black borders (i.e. they add the cell&apos;s border and padding to the
&apos;height&apos; to arrive at the minimum height it contributes to the row).

Source: http://lists.w3.org/Archives/Public/www-style/2011Nov/0750.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62421</commentid>
    <comment_count>2</comment_count>
    <who name="Gérard Talbot">info</who>
    <bug_when>2012-01-09 17:25:30 +0000</bug_when>
    <thetext>I have a few other tests on all this; at minimum, this test should be added in this bug report.

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/height-cell-bc-separate-002.html

Firefox 9.0.1, Opera 11.60 and Konqueror 4.7.4 render an 80px tall yellow square which seems to be the result of:

  20px  (minimum required by content of cell)
+
  60px (vertical padding specified for cell)
------
  80px


Chrome 16.0.912.75 render a 160px tall yellow rectangle which seems to be the result of:

  100px (specified height of cell box content)
+
   60px (vertical padding specified for cell)
-------
  160px

Both results proceed from totally different logic and implementation.

I have not checked yet with IE8, IE9 and Safari 5.1.2 right now.

Gérard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62690</commentid>
    <comment_count>3</comment_count>
    <who name="Gérard Talbot">info</who>
    <bug_when>2012-01-13 21:20:16 +0000</bug_when>
    <thetext>Test submitted at CSS2.1 test suite:

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/height-table-cell-001.htm



Bug report at bugzilla.mozilla.org on this:

Bug 295315 - table-cell height calculation uses border-box sizing; should use content-box
https://bugzilla.mozilla.org/show_bug.cgi?id=295315

Gérard</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>