gecko-dev/testing/web-platform/tests/css/css-tables/border-collapse-rowspan-cell.html
Chris Harrelson 702452a1fe Bug 1541779 [wpt PR 16221] - [PE] Include visual overflow of self-painting LayoutTableCells for rowspan., a=testonly
Automatic update from web-platform-tests
[PE] Include visual overflow of self-painting LayoutTableCells for rowspan.

If a table cell spans multiple rows, then the row needs to expand its
visual overflow to include the visual overflow of that cell, even if
the cell is self-painting. This is because the table row is the delegated
painter of the background and collapsed borders of such cells.

Bug: 947713

Change-Id: I690991de15ad4c527a8647ab11e5fb302269a2fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1548868
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#647008}

--

wpt-commits: adc473fd8ff15c3cf48011f0ce6ce83e740d978a
wpt-pr: 16221
2019-06-05 10:25:06 +01:00

26 lines
550 B
HTML

<!doctype HTML>
<title>CSS Test: collapsed borders of row-spanning cells should paint correctly.</title>
<link rel="author" title="Chris Harrelson" href="chrishtr@chromium.org">
<link rel="match" href="border-collapse-rowspan-cell-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-tables/#slot">
<style>
table {
border-collapse: collapse;
}
td {
border: 1px solid red;
position: relative;
}
</style>
<table>
<tr>
<td rowspan="2">
Needs border
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>