fune/testing/web-platform/tests/css/css-tables/border-collapse-empty-cell.html
Aleks Totic f3769f6957 Bug 1711800 [wpt PR 29035] - [TablesNG] Always display collapsed borders for empty cells, a=testonly
Automatic update from web-platform-tests
[TablesNG] Always display collapsed borders for empty cells

TablesNG was too clever, hiding collapsed borders for empty
cells if empty-cells:hide was set.

All the other browsers ignored empty cell hiding for collapsed
borders. We now match the others.

Bug: 1210273
Change-Id: I32ad4d8f4bd26ed8e5ca41a48b2768845d142932
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2903691
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#884523}

--

wpt-commits: 210f3063ee08710cc588fe0fdbb9680c2ed73bea
wpt-pr: 29035
2021-05-21 13:23:43 +00:00

26 lines
581 B
HTML

<!doctype HTML>
<title>Collapsed borders of empty cells are painted</title>
<link rel="author" href="atotic@chromium.org">
<link rel="match" href="border-collapse-empty-cell-ref.html">
<link rel="help" href="https://stackoverflow.com/questions/18758373/why-do-the-css-property-border-collapse-and-empty-cells-conflict">
<style>
table {
border-collapse: collapse;
empty-cells: hide;
}
td {
width:50px;
height:50px;
border: 10px solid gray;
}
</style>
<table>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>