diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-05-12 19:23:47 +0300 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2020-05-12 19:23:47 +0300 |
commit | 5b4ba954385d93c7200b8155033c73ab2f0c4f71 (patch) | |
tree | 84871edad991a7dd607ec8f185f6bbb022b6edeb /layout/tables/nsTableCellFrame.cpp | |
parent | 39c7fd37d5851edd2f706760a5a067ce12bb96c0 (diff) | |
download | UXP-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/tables/nsTableCellFrame.cpp')
-rw-r--r-- | layout/tables/nsTableCellFrame.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/layout/tables/nsTableCellFrame.cpp b/layout/tables/nsTableCellFrame.cpp index 9c715d999..ee05565a9 100644 --- a/layout/tables/nsTableCellFrame.cpp +++ b/layout/tables/nsTableCellFrame.cpp @@ -1108,18 +1108,6 @@ nsBCTableCellFrame::GetUsedBorder() const return GetBorderWidth(wm).GetPhysicalMargin(wm); } -/* virtual */ bool -nsBCTableCellFrame::GetBorderRadii(const nsSize& aFrameSize, - const nsSize& aBorderArea, - Sides aSkipSides, - nscoord aRadii[8]) const -{ - NS_FOR_CSS_HALF_CORNERS(corner) { - aRadii[corner] = 0; - } - return false; -} - #ifdef DEBUG_FRAME_DUMP nsresult nsBCTableCellFrame::GetFrameName(nsAString& aResult) const |