Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / selectors / input-with-selection-pseudo-element.html
blob25c20c0b8d2586db9dbdd0019a2479730963c833
1 <!DOCTYPE html>
2 <style>
3 ::selection { background-color: rgba(63, 128, 33, 0.95); color: yellow; }
4 </style>
5 <input id="inputText" type="text" value="Hello" style="border: 5px solid;
6 width:100px; font-size: 16px; font-family:sans-serif;
7 padding: 0; margin: 0; outline:none;"><br>
8 <br>The above selected text in the input box should have green background and yellow color.
9 <script>
10 window.onload = document.getElementById('inputText').select();
11 </script>