mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Unprefix -moz-read-write / -moz-read-only
This commit is contained in:
parent
e4630ce481
commit
4cc014cb6b
25 changed files with 75 additions and 75 deletions
|
|
@ -2198,13 +2198,13 @@ nsGenericHTMLFormElement::IntrinsicState() const
|
|||
}
|
||||
|
||||
// Make the text controls read-write
|
||||
if (!state.HasState(NS_EVENT_STATE_MOZ_READWRITE) &&
|
||||
if (!state.HasState(NS_EVENT_STATE_READWRITE) &&
|
||||
IsTextOrNumberControl(/*aExcludePassword*/ false)) {
|
||||
bool roState = GetBoolAttr(nsGkAtoms::readonly);
|
||||
|
||||
if (!roState) {
|
||||
state |= NS_EVENT_STATE_MOZ_READWRITE;
|
||||
state &= ~NS_EVENT_STATE_MOZ_READONLY;
|
||||
state |= NS_EVENT_STATE_READWRITE;
|
||||
state &= ~NS_EVENT_STATE_READONLY;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue