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
--- 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/>