Bug 1335888 - set border-width explicitly to avoid the change of the default style of input field. draft
authorShih-Chiang Chien <schien@mozilla.com>
Thu, 02 Feb 2017 11:42:51 +0800
changeset 469334 d3edc11d23c6ad209e97fe6397a2d0be8dd12a05
parent 469313 ece0e0fd16a30d37249a18c41fa65143d7c01b8f
child 544173 abe9c5bf4a9a7f8ad93887ad804983933f1f41e2
push id43698
push userschien@mozilla.com
push dateThu, 02 Feb 2017 03:44:29 +0000
bugs1335888
milestone54.0a1
Bug 1335888 - set border-width explicitly to avoid the change of the default style of input field. 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;
+    border-width: 1px;
   }
 </style>
 
 </head>
 <body>
 <input id="input" type="text" value="iiiiiiiii iiiiiiiii iiiiiiiii">
 <div id="fixedDiv1" class="testingDiv">
 dddddd dddddd dddddd