mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue