diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-13 12:27:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 12:27:18 +0200 |
commit | f38ebb5f44a7f95bc61db5d7ce050e6d30ab72bf (patch) | |
tree | 4a45b65444bcf30dd196b9329436309f472dfd96 /layout/tables | |
parent | 97b89ab4b526073a4928c694c18fbbba1c570f48 (diff) | |
parent | 5b4ba954385d93c7200b8155033c73ab2f0c4f71 (diff) | |
download | UXP-f38ebb5f44a7f95bc61db5d7ce050e6d30ab72bf.tar UXP-f38ebb5f44a7f95bc61db5d7ce050e6d30ab72bf.tar.gz UXP-f38ebb5f44a7f95bc61db5d7ce050e6d30ab72bf.tar.lz UXP-f38ebb5f44a7f95bc61db5d7ce050e6d30ab72bf.tar.xz UXP-f38ebb5f44a7f95bc61db5d7ce050e6d30ab72bf.zip |
Merge pull request #1546 from win7-7/1375518-pr
Fix border-radius on table row groups, rows, column groups, or columns
Diffstat (limited to 'layout/tables')
-rw-r--r-- | layout/tables/nsTableCellFrame.cpp | 12 | ||||
-rw-r--r-- | layout/tables/nsTableCellFrame.h | 4 |
2 files changed, 0 insertions, 16 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 diff --git a/layout/tables/nsTableCellFrame.h b/layout/tables/nsTableCellFrame.h index a822e309d..2acd59667 100644 --- a/layout/tables/nsTableCellFrame.h +++ b/layout/tables/nsTableCellFrame.h @@ -340,10 +340,6 @@ public: virtual nsIAtom* GetType() const override; virtual nsMargin GetUsedBorder() const override; - virtual bool GetBorderRadii(const nsSize& aFrameSize, - const nsSize& aBorderArea, - Sides aSkipSides, - nscoord aRadii[8]) const override; // Get the *inner half of the border only*, in twips. virtual LogicalMargin GetBorderWidth(WritingMode aWM) const override; |