mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add tests for #12492
This commit is contained in:
parent
afbd047695
commit
129d1d6514
3 changed files with 64 additions and 0 deletions
|
@ -5272,6 +5272,18 @@
|
||||||
"url": "/_mozilla/css/text_transform_uppercase_a.html"
|
"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": [
|
"css/transform_3d.html": [
|
||||||
{
|
{
|
||||||
"path": "css/transform_3d.html",
|
"path": "css/transform_3d.html",
|
||||||
|
@ -14390,6 +14402,18 @@
|
||||||
"url": "/_mozilla/css/text_transform_uppercase_a.html"
|
"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": [
|
"css/transform_3d.html": [
|
||||||
{
|
{
|
||||||
"path": "css/transform_3d.html",
|
"path": "css/transform_3d.html",
|
||||||
|
|
|
@ -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>
|
21
tests/wpt/mozilla/tests/css/textarea_space_calculation.html
Normal file
21
tests/wpt/mozilla/tests/css/textarea_space_calculation.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue