mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 07:33:20 +00:00

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.
18 lines
504 B
HTML
18 lines
504 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="separate border-left">aaaaaaa</td>
|
|
</table>
|
|
<table class="separate border-left">
|
|
<td class="collapse border">aaaaaaa</td>
|
|
</table>
|
|
</body>
|