mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 17:03:07 +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);
|
||||
}
|
||||
|
||||
SyncDisabledState();
|
||||
|
||||
if (StyleDisplay()->mAppearance == NS_THEME_TEXTFIELD) {
|
||||
// The author has elected to hide the spinner by setting this
|
||||
// -moz-appearance. We will reframe if it changes.
|
||||
|
|
@ -461,8 +463,6 @@ nsNumberControlFrame::CreateAnonymousContent(nsTArray<ContentInfo>& aElements)
|
|||
CSSPseudoElementType::mozNumberSpinDown,
|
||||
spinBoxCI.mStyleContext);
|
||||
|
||||
SyncDisabledState();
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue