Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / textarea-focus.html
blob53afe9e967a560044e5345e7c4976f76f8d7a018
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en">
4 <head>
5 <style type="text/css">
6 textarea { background: red; }
7 textarea:focus { background: green; }
8 </style>
9 </head>
10 <body>
11 <p><b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=8324">Bugzilla bug 8324</a> REGRESSION: textarea :focus not applied immediately</p>
13 <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b>
14 Click in the red text area below.
15 </p>
17 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
18 The text area&rsquo;s background will change from red to green.
19 </p>
21 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
22 The text area will not change to green. Only switching to another window and back to this window
23 will change it to green.
24 </p>
26 <textarea rows="8" cols="40"></textarea>
28 </body>
29 </html>