From ad69c023a96f516ae9a0089b1bc6e4c0712dccd3 Mon Sep 17 00:00:00 2001 From: win7-7 Date: Tue, 12 May 2020 19:23:47 +0300 Subject: 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. --- .../table-bordercollapse/bug1375518-2.html | 22 +++++++++++ .../table-bordercollapse/bug1375518-3.html | 22 +++++++++++ .../table-bordercollapse/bug1375518-4-ref.html | 44 ++++++++++++++++++++++ .../table-bordercollapse/bug1375518-4.html | 44 ++++++++++++++++++++++ .../table-bordercollapse/bug1375518-5-ref.html | 44 ++++++++++++++++++++++ .../table-bordercollapse/bug1375518-5.html | 44 ++++++++++++++++++++++ .../table-bordercollapse/bug1375518-ref.html | 17 +++++++++ .../reftests/table-bordercollapse/bug1375518.html | 24 ++++++++++++ layout/reftests/table-bordercollapse/reftest.list | 5 +++ 9 files changed, 266 insertions(+) create mode 100644 layout/reftests/table-bordercollapse/bug1375518-2.html create mode 100644 layout/reftests/table-bordercollapse/bug1375518-3.html create mode 100644 layout/reftests/table-bordercollapse/bug1375518-4-ref.html create mode 100644 layout/reftests/table-bordercollapse/bug1375518-4.html create mode 100644 layout/reftests/table-bordercollapse/bug1375518-5-ref.html create mode 100644 layout/reftests/table-bordercollapse/bug1375518-5.html create mode 100644 layout/reftests/table-bordercollapse/bug1375518-ref.html create mode 100644 layout/reftests/table-bordercollapse/bug1375518.html (limited to 'layout/reftests') diff --git a/layout/reftests/table-bordercollapse/bug1375518-2.html b/layout/reftests/table-bordercollapse/bug1375518-2.html new file mode 100644 index 000000000..c36737622 --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1375518-2.html @@ -0,0 +1,22 @@ + + + +Table border collapse + + + +
+ + \ No newline at end of file diff --git a/layout/reftests/table-bordercollapse/bug1375518-3.html b/layout/reftests/table-bordercollapse/bug1375518-3.html new file mode 100644 index 000000000..1d188e19f --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1375518-3.html @@ -0,0 +1,22 @@ + + + +Separated border model table + + + +
+ + \ No newline at end of file diff --git a/layout/reftests/table-bordercollapse/bug1375518-4-ref.html b/layout/reftests/table-bordercollapse/bug1375518-4-ref.html new file mode 100644 index 000000000..f9a8f07d7 --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1375518-4-ref.html @@ -0,0 +1,44 @@ + +border-radius and separated border model tables + + +

border-radius and separated border model tables

+ + + + + + + + +
xxxxxx +
xxxxxx +
xxxxxx +
xxxxxx +
+ + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
\ No newline at end of file diff --git a/layout/reftests/table-bordercollapse/bug1375518-4.html b/layout/reftests/table-bordercollapse/bug1375518-4.html new file mode 100644 index 000000000..97aebd456 --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1375518-4.html @@ -0,0 +1,44 @@ + +border-radius and separated border model tables + + +

border-radius and separated border model tables

+ + + + + + + + +
xxxxxx +
xxxxxx +
xxxxxx +
xxxxxx +
+ + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
\ No newline at end of file diff --git a/layout/reftests/table-bordercollapse/bug1375518-5-ref.html b/layout/reftests/table-bordercollapse/bug1375518-5-ref.html new file mode 100644 index 000000000..eaf1710bc --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1375518-5-ref.html @@ -0,0 +1,44 @@ + +border-radius and border-collapse tables + + +

border-radius and border-collapse tables

+ + + + + + + + +
xxxxxx +
xxxxxx +
xxxxxx +
xxxxxx +
+ + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
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 @@ + +border-radius and border-collapse tables + + +

border-radius and border-collapse tables

+ + + + + + + + +
xxxxxx +
xxxxxx +
xxxxxx +
xxxxxx +
+ + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
+ + + +
xxxxxx +
xxxxxx +
diff --git a/layout/reftests/table-bordercollapse/bug1375518-ref.html b/layout/reftests/table-bordercollapse/bug1375518-ref.html new file mode 100644 index 000000000..5d58d6839 --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1375518-ref.html @@ -0,0 +1,17 @@ + + + +Table border collapse + + + +
+ + \ No newline at end of file diff --git a/layout/reftests/table-bordercollapse/bug1375518.html b/layout/reftests/table-bordercollapse/bug1375518.html new file mode 100644 index 000000000..101d92548 --- /dev/null +++ b/layout/reftests/table-bordercollapse/bug1375518.html @@ -0,0 +1,24 @@ + + + +Table border collapse + + + + + + + +
+ + \ No newline at end of file diff --git a/layout/reftests/table-bordercollapse/reftest.list b/layout/reftests/table-bordercollapse/reftest.list index 5ca6f305a..aac4934d6 100644 --- a/layout/reftests/table-bordercollapse/reftest.list +++ b/layout/reftests/table-bordercollapse/reftest.list @@ -1,3 +1,8 @@ +== bug1375518.html bug1375518-ref.html +== bug1375518-2.html bug1375518-ref.html +== bug1375518-3.html bug1375518-ref.html +== bug1375518-4.html bug1375518-4-ref.html +== bug1375518-5.html bug1375518-5-ref.html == bc_dyn_cell1.html bc_dyn_cell1_ref.html == bc_dyn_cell2.html bc_dyn_cell2_ref.html == bc_dyn_cell3.html bc_dyn_cell3_ref.html -- cgit v1.2.3