mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #1925 - Remove use of NS_CORNER_{TOP|BOTTOM}_{LEFT|RIGHT} macros.
This commit is contained in:
parent
0a7f42b452
commit
d73f8c2e84
10 changed files with 96 additions and 93 deletions
|
|
@ -3145,28 +3145,28 @@ already_AddRefed<CSSValue>
|
|||
nsComputedDOMStyle::DoGetBorderBottomLeftRadius()
|
||||
{
|
||||
return GetEllipseRadii(StyleBorder()->mBorderRadius,
|
||||
NS_CORNER_BOTTOM_LEFT);
|
||||
eCornerBottomLeft);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetBorderBottomRightRadius()
|
||||
{
|
||||
return GetEllipseRadii(StyleBorder()->mBorderRadius,
|
||||
NS_CORNER_BOTTOM_RIGHT);
|
||||
eCornerBottomRight);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetBorderTopLeftRadius()
|
||||
{
|
||||
return GetEllipseRadii(StyleBorder()->mBorderRadius,
|
||||
NS_CORNER_TOP_LEFT);
|
||||
eCornerTopLeft);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetBorderTopRightRadius()
|
||||
{
|
||||
return GetEllipseRadii(StyleBorder()->mBorderRadius,
|
||||
NS_CORNER_TOP_RIGHT);
|
||||
eCornerTopRight);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
|
|
@ -3406,28 +3406,28 @@ already_AddRefed<CSSValue>
|
|||
nsComputedDOMStyle::DoGetOutlineRadiusBottomLeft()
|
||||
{
|
||||
return GetEllipseRadii(StyleOutline()->mOutlineRadius,
|
||||
NS_CORNER_BOTTOM_LEFT);
|
||||
eCornerBottomLeft);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetOutlineRadiusBottomRight()
|
||||
{
|
||||
return GetEllipseRadii(StyleOutline()->mOutlineRadius,
|
||||
NS_CORNER_BOTTOM_RIGHT);
|
||||
eCornerBottomRight);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetOutlineRadiusTopLeft()
|
||||
{
|
||||
return GetEllipseRadii(StyleOutline()->mOutlineRadius,
|
||||
NS_CORNER_TOP_LEFT);
|
||||
eCornerTopLeft);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetOutlineRadiusTopRight()
|
||||
{
|
||||
return GetEllipseRadii(StyleOutline()->mOutlineRadius,
|
||||
NS_CORNER_TOP_RIGHT);
|
||||
eCornerTopRight);
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue