mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
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
26 lines
550 B
HTML
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>
|