mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Issue #1925 - Remove use of NS_SIDE_* macros.
This commit is contained in:
parent
e6e2796541
commit
ec7351a5d4
30 changed files with 322 additions and 328 deletions
|
|
@ -340,8 +340,8 @@ nsGenericHTMLElement::GetOffsetRect(CSSIntRect& aRect)
|
|||
if (parent &&
|
||||
parent->StylePosition()->mBoxSizing != StyleBoxSizing::Border) {
|
||||
const nsStyleBorder* border = parent->StyleBorder();
|
||||
origin.x -= border->GetComputedBorderWidth(NS_SIDE_LEFT);
|
||||
origin.y -= border->GetComputedBorderWidth(NS_SIDE_TOP);
|
||||
origin.x -= border->GetComputedBorderWidth(eSideLeft);
|
||||
origin.y -= border->GetComputedBorderWidth(eSideTop);
|
||||
}
|
||||
|
||||
// XXX We should really consider subtracting out padding for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue