mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-16 12:17:34 +09:00
Sync disabled state of number control regardless of appearance.
This commit is contained in:
parent
450c242d9f
commit
7438687cda
1 changed files with 2 additions and 2 deletions
|
|
@ -430,6 +430,8 @@ nsNumberControlFrame::CreateAnonymousContent(nsTArray<ContentInfo>& aElements)
|
||||||
nsContentUtils::AddScriptRunner(focusJob);
|
nsContentUtils::AddScriptRunner(focusJob);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SyncDisabledState();
|
||||||
|
|
||||||
if (StyleDisplay()->mAppearance == NS_THEME_TEXTFIELD) {
|
if (StyleDisplay()->mAppearance == NS_THEME_TEXTFIELD) {
|
||||||
// The author has elected to hide the spinner by setting this
|
// The author has elected to hide the spinner by setting this
|
||||||
// -moz-appearance. We will reframe if it changes.
|
// -moz-appearance. We will reframe if it changes.
|
||||||
|
|
@ -461,8 +463,6 @@ nsNumberControlFrame::CreateAnonymousContent(nsTArray<ContentInfo>& aElements)
|
||||||
CSSPseudoElementType::mozNumberSpinDown,
|
CSSPseudoElementType::mozNumberSpinDown,
|
||||||
spinBoxCI.mStyleContext);
|
spinBoxCI.mStyleContext);
|
||||||
|
|
||||||
SyncDisabledState();
|
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue