mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 1625604 - Move pointer-events: none declaration for option to forms.css. r=snorp
This is a bit hacky, but is how it used tow work without the native theme. We may be able to do better. <input type="date"> / <input type="time"> work the same way with and without the other two selectors, because they never match since we moved them to shadow DOM in Firefox 65 (bug 1496242). Differential Revision: https://phabricator.services.mozilla.com/D69552 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
df699673b7
commit
0caf890907
@ -405,6 +405,14 @@ optgroup:before {
|
||||
content: attr(label);
|
||||
}
|
||||
|
||||
%ifdef ANDROID
|
||||
/* These elements are handled by the prompt module. */
|
||||
select option,
|
||||
select optgroup {
|
||||
pointer-events: none;
|
||||
}
|
||||
%endif
|
||||
|
||||
*|*::-moz-dropdown-list {
|
||||
z-index: 2147483647;
|
||||
background-color: inherit;
|
||||
|
@ -32,13 +32,6 @@ textarea,
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* These elements are handled by the prompt module. */
|
||||
select option, select optgroup,
|
||||
input[type="date"] div:-moz-native-anonymous.datetime-input-box-wrapper,
|
||||
input[type="time"] div:-moz-native-anonymous.datetime-input-box-wrapper {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
select:not([size]):not([multiple]),
|
||||
select[size="0"],
|
||||
select[size="1"],
|
||||
|
Loading…
Reference in New Issue
Block a user