Bug 1262772 - html checkboxes in in-content pages should stop taking pointer events because they're hidden, r?jaws draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 07 Apr 2016 11:40:11 +0100
changeset 348353 88d80fd147622bd00b1aae2ec5b3f74c32dbe81e
parent 347280 2ffa9007ef203a29052b6db3e1dd63c0349cc70e
child 517845 410cb9cb9075cb9a47dc9154305e93843d1e2b51
push id14820
push usergijskruitbosch@gmail.com
push dateThu, 07 Apr 2016 10:40:27 +0000
reviewersjaws
bugs1262772
milestone48.0a1
Bug 1262772 - html checkboxes in in-content pages should stop taking pointer events because they're hidden, r?jaws 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;