Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / selectors / input-with-selection-pseudo-element.html
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>