Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / textarea / textarea-placeholder-paint-order-2.html
bloba8f981f4d029d8edaddd1f257f239b34343fa4fc
1 <!DOCTYPE html>
2 <body>
3 <style>
4 textarea {
5 color: lime;
6 text-indent: 1px;
7 zoom: 8;
10 textarea::-webkit-input-placeholder {
11 text-indent: -1px;
12 font-weight: bold;
13 color: red;
15 </style>
16 <p>The green caret in the following text box should painted over the red placeholder text.</p>
17 <textarea></textarea>
18 <script>
19 var textarea = document.querySelector('textarea');
20 textarea.focus();
21 textarea.placeholder = 'Placeholder';
22 </script>
23 </body>