Add tests for #12492

This commit is contained in:
Michael Howell 2016-07-28 16:02:57 -07:00
parent afbd047695
commit 129d1d6514
3 changed files with 64 additions and 0 deletions

View file

@ -5272,6 +5272,18 @@
"url": "/_mozilla/css/text_transform_uppercase_a.html"
}
],
"css/textarea_space_calculation.html": [
{
"path": "css/textarea_space_calculation.html",
"references": [
[
"/_mozilla/css/textarea_space_calculation-ref.html",
"=="
]
],
"url": "/_mozilla/css/textarea_space_calculation.html"
}
],
"css/transform_3d.html": [
{
"path": "css/transform_3d.html",
@ -14390,6 +14402,18 @@
"url": "/_mozilla/css/text_transform_uppercase_a.html"
}
],
"css/textarea_space_calculation.html": [
{
"path": "css/textarea_space_calculation.html",
"references": [
[
"/_mozilla/css/textarea_space_calculation-ref.html",
"=="
]
],
"url": "/_mozilla/css/textarea_space_calculation.html"
}
],
"css/transform_3d.html": [
{
"path": "css/transform_3d.html",

View file

@ -0,0 +1,19 @@
<!doctype html>
<title>REFERENCE: textarea does not take up more space than it takes up</title>
<style>
textarea{height:2em;width:2em}
div{width:2em;font-size:12px;line-height:3px}
</style>
<h1>To pass, no red should be visible</h1>
<div>
<textarea>
1
2
3
4
5
6
8
9
</textarea>
</div>

View file

@ -0,0 +1,21 @@
<!doctype html>
<meta charset="utf-8">
<title>textarea does not take up more space than it takes up</title>
<link rel="match" href="textarea_space_calculation-ref.html">
<style>
textarea{height:2em;width:2em}
div{background:red;width:2em;font-size:12px;line-height:3px}
</style>
<h1>To pass, no red should be visible</h1>
<div>
<textarea>
1
2
3
4
5
6
8
9
</textarea>
</div>