mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #9072 - Manishearth:password-placeholder, r=eefriedman
Fix placeholders for password inputs currently they show dots instead of the placeholder text <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9072) <!-- Reviewable:end -->
This commit is contained in:
commit
7f156b8c12
5 changed files with 78 additions and 11 deletions
|
@ -14,6 +14,8 @@
|
|||
<div><input type="submit"><input type="reset"><div>
|
||||
<div><input id=ch type="checkbox" checked></div>
|
||||
<div><input id=unch type="checkbox"></div>
|
||||
<div><input type="text" size="30" placeholder="this is a placeholder"></div>
|
||||
<div><input type="password" size="30" placeholder="this is a password placeholder"></div>
|
||||
<script>
|
||||
document.getElementById("ch").indeterminate = true;
|
||||
document.getElementById("unch").indeterminate = true;
|
||||
|
|
|
@ -2419,6 +2419,30 @@
|
|||
"url": "/_mozilla/css/input_height_a.html"
|
||||
}
|
||||
],
|
||||
"css/input_placeholder.html": [
|
||||
{
|
||||
"path": "css/input_placeholder.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_placeholder_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_placeholder.html"
|
||||
}
|
||||
],
|
||||
"css/input_placeholder_ref.html": [
|
||||
{
|
||||
"path": "css/input_placeholder_ref.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_placeholder_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_placeholder_ref.html"
|
||||
}
|
||||
],
|
||||
"css/inset.html": [
|
||||
{
|
||||
"path": "css/inset.html",
|
||||
|
@ -8328,6 +8352,30 @@
|
|||
"url": "/_mozilla/css/input_height_a.html"
|
||||
}
|
||||
],
|
||||
"css/input_placeholder.html": [
|
||||
{
|
||||
"path": "css/input_placeholder.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_placeholder_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_placeholder.html"
|
||||
}
|
||||
],
|
||||
"css/input_placeholder_ref.html": [
|
||||
{
|
||||
"path": "css/input_placeholder_ref.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/input_placeholder_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/input_placeholder_ref.html"
|
||||
}
|
||||
],
|
||||
"css/inset.html": [
|
||||
{
|
||||
"path": "css/inset.html",
|
||||
|
|
5
tests/wpt/mozilla/tests/css/input_placeholder.html
Normal file
5
tests/wpt/mozilla/tests/css/input_placeholder.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="match" href="input_placeholder_ref.html">
|
||||
<input type=text placeholder="foo bar"><input type=text placeholder="foo bar">
|
5
tests/wpt/mozilla/tests/css/input_placeholder_ref.html
Normal file
5
tests/wpt/mozilla/tests/css/input_placeholder_ref.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="match" href="input_placeholder_ref.html">
|
||||
<input type=text value="foo bar"><input type=text value="foo bar">
|
Loading…
Add table
Add a link
Reference in a new issue