Bug 1498380 - devtools UI relies on old Gecko's <button> hit testing, r=pbro
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Fri, 12 Oct 2018 14:14:58 +0300
changeset 499566 03f328ed7618d4fcdaad1688f4f2012f11f55084
parent 499565 05e256e81d2b77fa3a2b31461d93ff1f1006bcbf
child 499567 823913dd3fc8ad0d65b46ae91203dfef77044877
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1498380
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1498380 - devtools UI relies on old Gecko's <button> hit testing, r=pbro
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -47,16 +47,21 @@
  * Override wrong system font from forms.css
  * Bug 1458224: buttons use a wrong default font-size on Linux
  */
 html|button, html|select, html|input {
   font: message-box;
   font-size: var(--theme-body-font-size);
 }
 
+/* Devtools rely on the old Gecko/HTML4 button hit testing */
+html|button > * {
+  pointer-events: none;
+}
+
 /* Autocomplete Popup */
 .devtools-autocomplete-popup {
   overflow: hidden;
 
   /* Devtools autocompletes display technical english keywords and should be displayed
      using LTR direction. */
   direction: ltr !important;
 }