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) draft
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 03 Aug 2016 14:53:11 -0700
changeset 396484 b87a374acf53c44f9955370f339a70c170b2319a
parent 396454 de6fd5bb93d26985b6b7eb8b1e2ec896b8e7611a
child 396485 52ba841bb2e26a2b8e9efd6f6d06dd346940ac14
push id25016
push userdholbert@mozilla.com
push dateWed, 03 Aug 2016 21:53:34 +0000
bugs1291334
milestone51.0a1
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/>