mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
style: Add a Show Password button to <input type=password> controls
It's controlled by the pref: layout.forms.input-type-show-password-button.enabled Differential Revision: https://phabricator.services.mozilla.com/D130407
This commit is contained in:
parent
b08701529f
commit
09a0edefb8
3 changed files with 9 additions and 0 deletions
|
@ -125,6 +125,11 @@ bitflags! {
|
|||
const IN_DEVTOOLS_HIGHLIGHTED_STATE = 1 << 45;
|
||||
/// Used for the devtools style editor. Probably should go away.
|
||||
const IN_STYLEEDITOR_TRANSITIONING_STATE = 1 << 46;
|
||||
/// For :-moz-value-empty (to show widgets like the reveal password
|
||||
/// button or the clear button).
|
||||
const IN_VALUE_EMPTY_STATE = 1 << 47;
|
||||
/// For :-moz-revealed.
|
||||
const IN_REVEALED_STATE = 1 << 48;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue