- From: Karl Dubost via GitHub <noreply@w3.org>
- Date: Fri, 30 Jan 2026 05:40:26 +0000
- To: public-css-archive@w3.org
karlcow has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-borders][css-tables] The rowspan cell bottom-border takes the color of the last border shared adjacent cell ==
I just fixed a [difference of behavior in between WebKit and Blink/Gecko](https://github.com/WebKit/WebKit/pull/57402).
I will be exporting to WPT the testcase.
**Before on Safari**
<img width="244" height="209" alt="Image" src="https://github.com/user-attachments/assets/6bb0a5b1-4624-48bb-9f98-06988d544f67" />
**On Chrome/Firefox. And soon on Safari**
<img width="233" height="200" alt="Image" src="https://github.com/user-attachments/assets/eb7189c6-809d-4062-8b1f-2d12195876a0" />
The 3 rendering engines will behave the same.
The markup.
```
<style>
table {
border-collapse: collapse;
}
td {
width: 100px;
height: 50px;
border: 1px solid black;
}
/* Different border colors for each row */
#test tr:nth-child(1) {
border-bottom: 5px solid blue;
}
#test tr:nth-child(2) {
border-bottom: 5px solid green;
}
#test tr:nth-child(3) {
border-bottom: 5px solid red;
}
</style>
<p>The cell with rowspan=3 should have a red bottom border (from row 3), not blue (from row 1).</p>
<table id="test">
<tr>
<td rowspan="3">Rowspan 3</td>
<td>Cell B</td>
</tr>
<tr>
<td>Cell C</td>
</tr>
<tr>
<td>Cell D</td>
</tr>
</table>
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13417 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 30 January 2026 05:40:27 UTC