repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
forms
/
textarea
/
textarea-placeholder-paint-order-2-expected.html
blob
679a4900991bbecc544396564faaac37b6003f27
1
<!DOCTYPE
html
>
2
<body>
3
<style>
4
textarea {
5
color: lime;
6
text-indent:
1
px;
7
zoom:
8
;
8
}
9
10
textarea::-webkit-input-placeholder {
11
text-indent: -
1
px;
12
font-weight: bold;
13
color: red;
14
}
15
</style>
16
<p>
The green caret in the following text box should painted over the red placeholder text.
</p>
17
<textarea
placeholder
=
"Placeholder"
></textarea>
18
<script>
19
document
.
querySelector
(
'textarea'
).
focus
();
20
</script>
21
</body>