mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Before issue #146, border-radius on row groups, rows, column groups, or columns don't apply to the background of each cell, yet the border-radius on the cell itself does. After issue #146, the behaviors changed. In this patch, I tried to revert the behaviors of border-radius on table row groups, rows, column groups, or columns back to what happened before issue #146. Also: Don't override GetBorderRadii in nsBCTableCellFrame.
44 lines
No EOL
1.1 KiB
HTML
44 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<title>border-radius and separated border model tables</title>
|
|
<style>
|
|
|
|
body { background: white; color: black }
|
|
|
|
table { border-collapse: separate; margin: 1em 2px; }
|
|
table, td { border: 1px solid black; }
|
|
|
|
.radius { border: 3px solid teal; background: aqua; color: black; }
|
|
|
|
</style>
|
|
|
|
<h1>border-radius and separated border model tables</h1>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr></tbody>
|
|
<tbody class="radius">
|
|
<tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr><tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr></tbody>
|
|
<tbody>
|
|
<tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr></tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<tbody><tr class="radius"><td>xx</td><td>xx</td><td>xx
|
|
</td></tr><tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr></tbody></table>
|
|
|
|
<table>
|
|
<colgroup class="radius"><col><col></colgroup><colgroup><col>
|
|
</colgroup><tbody><tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr><tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr></tbody></table>
|
|
|
|
<table>
|
|
<colgroup><col><col class="radius"><col>
|
|
</colgroup><tbody><tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr><tr><td>xx</td><td>xx</td><td>xx
|
|
</td></tr></tbody></table> |