Closed Bug 1498380 Opened 6 years ago Closed 6 years ago

devtools UI relies on old Gecko's <button> hit testing

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(1 file)

the fix is basically
html|button > * {
  pointer-events: none;
}
bug 1089326 changes <button> hit testing so that also elements inside <button> may be the targets for hit testing. devtools relies on the old Gecko/HTML4 behavior, and pointer-events: none is enough to bring that behavior back.
Attachment #9016585 - Flags: review?(pbrosset)
Attachment #9016585 - Flags: review?(pbrosset) → review+
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/03f328ed7618
devtools UI relies on old Gecko's <button> hit testing, r=pbro
https://hg.mozilla.org/mozilla-central/rev/03f328ed7618
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: