Bug 1335888 - disable native theming for a mochitest's input field, so its click targets can be predictable. r=dholbert draft
authorShih-Chiang Chien <schien@mozilla.com>
Thu, 02 Feb 2017 11:42:51 +0800
changeset 479653 2bdb9c4d36de84a6024c46d33c63f7db5ff8f224
parent 479141 20a8536b0bfac74389d3a57bd8dd957d98779ce1
child 544742 6f638c4be2e10f8eef44d95c81875fcd7b517e51
push id44316
push userschien@mozilla.com
push dateTue, 07 Feb 2017 02:04:33 +0000
reviewersdholbert
bugs1335888
milestone54.0a1
Bug 1335888 - disable native theming for a mochitest's input field, so its click targets can be predictable. r=dholbert MozReview-Commit-ID: 7NZwSG0grz
layout/generic/test/test_selection_preventDefault.html
--- a/layout/generic/test/test_selection_preventDefault.html
+++ b/layout/generic/test/test_selection_preventDefault.html
@@ -15,16 +15,17 @@
     top: 0;
   }
   input {
     font-size: 16px;
     height: 16px;
     width: 80px;
     margin: 0;
     padding: 0;
+    -moz-appearance: none;
   }
 </style>
 
 </head>
 <body>
 <input id="input" type="text" value="iiiiiiiii iiiiiiiii iiiiiiiii">
 <div id="fixedDiv1" class="testingDiv">
 dddddd dddddd dddddd