25 lines
557 B
HTML
25 lines
557 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<script>
|
|
// We don't care a render tree of this test.
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText(true);
|
|
</script>
|
|
<style>
|
|
input {
|
|
color: lime;
|
|
text-indent: 1px;
|
|
zoom: 8;
|
|
}
|
|
|
|
input::placeholder {
|
|
text-indent: -1px;
|
|
font-weight: bold;
|
|
color: red;
|
|
}
|
|
</style>
|
|
<p>This test is meaningfull only if RenderTheme::shouldShowPlaceholderWhenFocused() returns true.</p>
|
|
<p>The green caret in the following text box should painted over the red placeholder text.</p>
|
|
<input placeholder="Placeholder" autofocus>
|
|
</body>
|