Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley
This commit is contained in:
committed by
Bobby Holley
parent
9a712653ce
commit
ae9de308f5
@@ -705,11 +705,11 @@ nsNumberControlFrame::ShouldUseNativeStyleForSpinner() const
|
||||
nsIFrame* spinDownFrame = mSpinDown->GetPrimaryFrame();
|
||||
|
||||
return spinUpFrame &&
|
||||
spinUpFrame->StyleDisplay()->mAppearance == NS_THEME_SPINNER_UP_BUTTON &&
|
||||
spinUpFrame->StyleDisplay()->mAppearance == NS_THEME_SPINNER_UPBUTTON &&
|
||||
!PresContext()->HasAuthorSpecifiedRules(spinUpFrame,
|
||||
STYLES_DISABLING_NATIVE_THEMING) &&
|
||||
spinDownFrame &&
|
||||
spinDownFrame->StyleDisplay()->mAppearance == NS_THEME_SPINNER_DOWN_BUTTON &&
|
||||
spinDownFrame->StyleDisplay()->mAppearance == NS_THEME_SPINNER_DOWNBUTTON &&
|
||||
!PresContext()->HasAuthorSpecifiedRules(spinDownFrame,
|
||||
STYLES_DISABLING_NATIVE_THEMING);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user