Bug 1335888 - disable native theming for a mochitest's input field, so its click targets can be predictable. r=dholbert
authorShih-Chiang Chien <schien@mozilla.com>
Thu, 02 Feb 2017 11:42:51 +0800
changeset 479888 b4b02af50299e17ac657fff1c9399420c30885f0
parent 479887 7ec2ddd042e65ee9e48445fd0bd342b86922192e
child 479889 3a6b42b3d2335f99d68d1e63ac6bb04a8ec78b4c
push id44393
push userVYV03354@nifty.ne.jp
push dateTue, 07 Feb 2017 13:53:48 +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