New issue
Advanced search Search tips

Issue 708345 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

cells in thead/tfoot don't receive extra height distribution

Project Member Reported by dgro...@chromium.org, Apr 4 2017

Issue description

Chrome Version: 59.0.3062.0 (Official Build) canary (64-bit)

<table style="height:100px">
  <thead>
    <tr>
      <th>&nbsp;</th>
    </tr>
  </thead>
</table>

Expect: the height of the table is 100px
Actual: the height of the table is 28px

EdgeHTML 14.14393 and FF 55.0a1 are correct.

https://jsfiddle.net/dgrogan/5bz9svgf/
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 3 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5ae9d5d654d92a360df068d915cfab5428597c56

commit 5ae9d5d654d92a360df068d915cfab5428597c56
Author: David Grogan <dgrogan@chromium.org>
Date: Sat Mar 03 18:05:39 2018

[css-tables] Test extra height distribution to row groups

When a table has a specified fixed height that is more than needed by
its rows chrome only distributes the extra height to the first table
body, ignoring thead, tfoot, and other tbody elements.

Note this only contains tests, not a fix.

Bug: 708345
Change-Id: Ib477306459a2f49feffe354e2cf3fed9b27e74e1
Reviewed-on: https://chromium-review.googlesource.com/942040
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540760}
[modify] https://crrev.com/5ae9d5d654d92a360df068d915cfab5428597c56/third_party/WebKit/LayoutTests/TestExpectations
[add] https://crrev.com/5ae9d5d654d92a360df068d915cfab5428597c56/third_party/WebKit/LayoutTests/external/wpt/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-001.html
[add] https://crrev.com/5ae9d5d654d92a360df068d915cfab5428597c56/third_party/WebKit/LayoutTests/external/wpt/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-002.html
[add] https://crrev.com/5ae9d5d654d92a360df068d915cfab5428597c56/third_party/WebKit/LayoutTests/external/wpt/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-003.html
[add] https://crrev.com/5ae9d5d654d92a360df068d915cfab5428597c56/third_party/WebKit/LayoutTests/external/wpt/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-004.html
[add] https://crrev.com/5ae9d5d654d92a360df068d915cfab5428597c56/third_party/WebKit/LayoutTests/external/wpt/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-005.html

Sign in to add a comment