mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Issue #2030 - Pref-gate default button event dispatch logic
This commit is contained in:
parent
4354c7a1bc
commit
3f073056de
2 changed files with 13 additions and 0 deletions
|
|
@ -699,6 +699,16 @@ button {
|
|||
justify-items: inherit;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("dom.forms.button.standards_compliant") {
|
||||
/*
|
||||
* Button content does historically not receive pointer events.
|
||||
* This pref is enabled by default and can disabled to get Webkit behavior.
|
||||
*/
|
||||
button * {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
button:hover,
|
||||
input[type="color"]:-moz-system-metric(color-picker-available):hover,
|
||||
input[type="reset"]:hover,
|
||||
|
|
|
|||
|
|
@ -1198,6 +1198,9 @@ pref("dom.forms.datetime.timepicker", false);
|
|||
// TODO: implement/fix these.
|
||||
pref("dom.forms.datetime.others", false);
|
||||
|
||||
// <button> elements are opaque to pointer events.
|
||||
pref("dom.forms.button.standards_compliant", true);
|
||||
|
||||
// Support for new @autocomplete values
|
||||
pref("dom.forms.autocomplete.experimental", false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue