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
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
forms
/
input-placeholder-paint-order-2.html
blob
9420e9ae9d615f2aed41562c20957fbdff763343
1
<!DOCTYPE
html
>
2
<body>
3
<style>
4
input {
5
color: lime;
6
text-indent:
1
px;
7
zoom:
8
;
8
}
9
10
input::-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
<input>
18
<script>
19
var
input
=
document
.
querySelector
(
'input'
);
20
input
.
focus
();
21
input
.
placeholder
=
'Placeholder'
;
22
</script>
23
</body>