mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Add reftest for whitespace in <input> and <textarea>
This commit is contained in:
parent
77628df0b2
commit
539ee18cf0
3 changed files with 88 additions and 0 deletions
|
@ -2443,6 +2443,30 @@
|
||||||
"url": "/_mozilla/css/input_placeholder_ref.html"
|
"url": "/_mozilla/css/input_placeholder_ref.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/input_whitespace.html": [
|
||||||
|
{
|
||||||
|
"path": "css/input_whitespace.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/input_whitespace_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/input_whitespace.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/input_whitespace_ref.html": [
|
||||||
|
{
|
||||||
|
"path": "css/input_whitespace_ref.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/input_whitespace_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/input_whitespace_ref.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/inset.html": [
|
"css/inset.html": [
|
||||||
{
|
{
|
||||||
"path": "css/inset.html",
|
"path": "css/inset.html",
|
||||||
|
@ -8376,6 +8400,30 @@
|
||||||
"url": "/_mozilla/css/input_placeholder_ref.html"
|
"url": "/_mozilla/css/input_placeholder_ref.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/input_whitespace.html": [
|
||||||
|
{
|
||||||
|
"path": "css/input_whitespace.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/input_whitespace_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/input_whitespace.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"css/input_whitespace_ref.html": [
|
||||||
|
{
|
||||||
|
"path": "css/input_whitespace_ref.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/input_whitespace_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/input_whitespace_ref.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/inset.html": [
|
"css/inset.html": [
|
||||||
{
|
{
|
||||||
"path": "css/inset.html",
|
"path": "css/inset.html",
|
||||||
|
|
20
tests/wpt/mozilla/tests/css/input_whitespace.html
Normal file
20
tests/wpt/mozilla/tests/css/input_whitespace.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title></title>
|
||||||
|
<link rel="match" href="input_whitespace_ref.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div><input type="text" size="30" value="placeholder"></div>
|
||||||
|
<div><input type="text" size="30" value="place holder"></div>
|
||||||
|
<div><input type="text" size="30" value="place holder"></div>
|
||||||
|
<textarea rows="7" cols="50">a a a a a
|
||||||
|
|
||||||
|
b
|
||||||
|
|
||||||
|
|
||||||
|
b
|
||||||
|
</textarea>
|
||||||
|
</body>
|
||||||
|
</html>
|
20
tests/wpt/mozilla/tests/css/input_whitespace_ref.html
Normal file
20
tests/wpt/mozilla/tests/css/input_whitespace_ref.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title></title>
|
||||||
|
<link rel="match" href="input_whitespace_ref.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div><input type="text" size="30" value="placeholder"></div>
|
||||||
|
<div><input type="text" size="30" value="place holder"></div>
|
||||||
|
<div><input type="text" size="30" value="place holder"></div>
|
||||||
|
<textarea rows="7" cols="50">a a a a a
|
||||||
|
|
||||||
|
b
|
||||||
|
|
||||||
|
|
||||||
|
b
|
||||||
|
</textarea>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Add a link
Reference in a new issue