Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / control-clip.html
1 <html>
2 <head>
3     <title></title>
4     <script src="resources/repaint.js"></script>
5     <script>
6         function repaintTest()
7         {
8             document.getElementById("popup").selectedIndex = 1;
9             document.getElementById("button").innerText = "SUCCESS";
10         }
11     </script>
12     <style>
13         select, button { display: block; height: 30px; width: 200px; }
14         select { -webkit-appearance: none; }
15     </style>
16 </head>
17 <body onload="runRepaintTest()">
18     <p>
19         Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13391">http://bugs.webkit.org/show_bug.cgi?id=13391</a>
20         REGRESSION (r18819): Incomplete repaint of button text</i>.
21     </p>
22     <p>
23         The popup and the button should say &ldquo;SUCCESS&rdquo; with no sign of &ldquo;FAILURE&rdquo;.
24     </p>
25     <select id="popup">
26         <option>FAILURE</option>
27         <option>SUCCESS</option>
28     </select>
29     <button id="button">FAILURE</button>
30 </body>
31 </html>