ladybird/Tests/LibWeb/Layout/input/table/border-conflict-resolution-with-multiple-colgroups.html
Pavel Shliak 166c02089d LibWeb: Preserve column indices across colgroups
Keep the collected column index across table-column-group siblings, so
columns in later colgroups are not recorded as column 0.
2026-05-14 12:41:54 +01:00

27 lines
402 B
HTML

<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
}
col.right {
border-left: 8px solid black;
}
td {
border: 1px solid black;
padding: 10px 20px;
}
</style>
<table>
<colgroup>
<col>
</colgroup>
<colgroup>
<col class="right">
</colgroup>
<tr>
<td>A</td>
<td>B</td>
</tr>
</table>