Bug 1291334 part 1: Explicitly set margin on textareas within reftest flexbox-basic-textarea-horiz-001.xhtml, to remove assumptions about default styling. (no review)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 03 Aug 2016 22:34:30 -0700
changeset 308157 3534790e9a6787a4cf75b1ee741d3696460b53a8
parent 308156 5ee1aee9ddc03d410126796ff28e44a1d8a15ab9
child 308158 607ba3f1f6a1c406cbcb79bf49a146519ca7136d
push id31068
push usercbook@mozilla.com
push dateThu, 04 Aug 2016 14:05:26 +0000
treeherderautoland@99a0a0e77f95 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1291334
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1291334 part 1: Explicitly set margin on textareas within reftest flexbox-basic-textarea-horiz-001.xhtml, to remove assumptions about default styling. (no review) MozReview-Commit-ID: 67PSYNY8hob
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-001-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-001.xhtml
--- a/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-001-ref.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-001-ref.xhtml
@@ -16,25 +16,27 @@
       }
       textarea {
         width: 10px;
         height: 20px;
         background: white;
         border-radius: 0;
         border: 1px dotted green;
         padding: 0;
+        margin: 0;
       }
     </style>
   </head>
   <body>
     <div class="flexbox">
       <textarea/>
     </div>
 
-    <div class="flexbox" style="height: 24px">
+    <div class="flexbox"
+         style="height: 22px"><!-- height of textarea's border-box -->
       some words
       <textarea style="float:right"/>
     </div>
 
     <div class="flexbox">
       <textarea style="width: 122.5px"
     /><textarea style="width: 73.5px"/>
     </div>
--- a/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-001.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-001.xhtml
@@ -24,16 +24,17 @@
       textarea {
         min-width: 0;
         width: 10px;
         height: 20px;
         background: white;
         border-radius: 0;
         border: 1px dotted green;
         padding: 0;
+        margin: 0;
       }
     </style>
   </head>
   <body>
 
     <!-- A) One flex item -->
     <div class="flexbox">
       <textarea/>