ladybird/Tests/LibWeb/Ref/expected/table-collapse-ignored-in-cells-ref.html
Ruben 88da6250f9 LibWeb: Use the correct definition of separated-borders mode
We previously checked the cell's computed values for the border-collapse
property, but a cell is only in separated-borders mode if the table has
border-collapse set to separate. Curiously in some other placed where
this mode is checked we already did the correct thing.
2025-06-04 15:02:42 +01:00

18 lines
486 B
HTML

<!DOCTYPE html>
<head>
<link rel="match" href="../expected/table-collapse-ignored-in-cells-ref.html" />
<style>
.collapse { border-collapse: collapse; }
.separate { border-collapse: separate; }
.border { border: 5px solid black; }
.border-left { border-left: 5px solid blue; }
</style>
</head>
<body>
<table class="collapse border">
<td class="border-left">aaaaaaa</td>
</table>
<table class="separate border-left">
<td class="border">aaaaaaa</td>
</table>
</body>