summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-bordercollapse/bug1375518-5.html
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2020-05-12 19:23:47 +0300
committerwin7-7 <win7-7@users.noreply.github.com>2020-05-12 19:23:47 +0300
commit5b4ba954385d93c7200b8155033c73ab2f0c4f71 (patch)
tree84871edad991a7dd607ec8f185f6bbb022b6edeb /layout/reftests/table-bordercollapse/bug1375518-5.html
parent39c7fd37d5851edd2f706760a5a067ce12bb96c0 (diff)
downloadUXP-5b4ba954385d93c7200b8155033c73ab2f0c4f71.tar
UXP-5b4ba954385d93c7200b8155033c73ab2f0c4f71.tar.gz
UXP-5b4ba954385d93c7200b8155033c73ab2f0c4f71.tar.lz
UXP-5b4ba954385d93c7200b8155033c73ab2f0c4f71.tar.xz
UXP-5b4ba954385d93c7200b8155033c73ab2f0c4f71.zip
Issue #1545 - Fix border-radius on table row groups, rows, column groups, or columns
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.
Diffstat (limited to 'layout/reftests/table-bordercollapse/bug1375518-5.html')
-rw-r--r--layout/reftests/table-bordercollapse/bug1375518-5.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/layout/reftests/table-bordercollapse/bug1375518-5.html b/layout/reftests/table-bordercollapse/bug1375518-5.html
new file mode 100644
index 000000000..7f123cd42
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/bug1375518-5.html
@@ -0,0 +1,44 @@
+<!DOCTYPE HTML>
+<title>border-radius and border-collapse tables</title>
+<style>
+
+body { background: white; color: black }
+
+table { border-collapse: collapse; margin: 1em 2px; }
+td { border: 1px solid black; }
+
+.radius { border: 3px solid teal; background: aqua; color: black; border-radius: 12px }
+
+</style>
+
+<h1>border-radius and border-collapse tables</h1>
+
+<table>
+ <tbody>
+ <tr><td>xx<td>xx<td>xx
+ </tbody>
+ <tbody class="radius">
+ <tr><td>xx<td>xx<td>xx
+ <tr><td>xx<td>xx<td>xx
+ </tbody>
+ <tbody>
+ <tr><td>xx<td>xx<td>xx
+ </tbody>
+</table>
+
+<table>
+ <tr class="radius"><td>xx<td>xx<td>xx
+ <tr><td>xx<td>xx<td>xx
+</table>
+
+<table>
+ <colgroup class="radius"><col><col><colgroup><col>
+ <tr><td>xx<td>xx<td>xx
+ <tr><td>xx<td>xx<td>xx
+</table>
+
+<table>
+ <col><col class="radius"><col>
+ <tr><td>xx<td>xx<td>xx
+ <tr><td>xx<td>xx<td>xx
+</table>