Bug 1262772 - html checkboxes in in-content pages should stop taking pointer events because they're hidden, r=jaws, a=lizzard
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 07 Apr 2016 11:40:11 +0100
changeset 325820 10dae46aa232edf234caf6315e3c743ccc49f304
parent 325819 19f7428b8d987e557f1fa54b5b2463a7b4d9d165
child 325821 3afd32bda2a53208a98ae1ea12ba48920834ea74
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, lizzard
bugs1262772
milestone47.0a2
Bug 1262772 - html checkboxes in in-content pages should stop taking pointer events because they're hidden, r=jaws, a=lizzard MozReview-Commit-ID: 6UC5sYmDHOU
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -472,16 +472,17 @@ html|a:hover:active,
 }
 
 /* Checkboxes and radio buttons */
 
 /* Hide the actual checkbox */
 html|input[type="checkbox"] {
   opacity: 0;
   width: 0;
+  pointer-events: none;
   position: absolute;
 }
 
 /* Create a box to style as the checkbox */
 html|input[type="checkbox"] + html|label:before {
   display: inline-block;
   content: "";
   vertical-align: middle;