Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / pseudostyle-anonymous-text.html
blob39c9f4acbbf685659a675255f472eae1c67ccad5
1 <html>
2 <head>
3 <style>
4 select::selection { color: red; }
5 input[type="button"]::selection { color: red; }
6 </style>
7 <script>
8 function test() {
9 if (window.testRunner)
10 testRunner.dumpAsText();
11 document.execCommand("SelectAll");
13 </script>
14 </head>
15 <body onload="test()">
16 This tests that this crasher is fixed:<br>
17 http://bugs.webkit.org/show_bug.cgi?id=10139<br>
18 REGRESSION: Reproducible crash when selecting a popup/button with ::selection pseudostyle"<br>
19 <select>
20 <option>Option 1</option>
21 </select>
22 <input type="button" value="button"></input>
23 </body>
24 </html>