1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <style type=
"text/css">
6 textarea
{ background: red
; }
7 textarea:focus
{ background: green
; }
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.
17 <p id=
"success" style=
"background-color:palegreen; padding:3px;"><b>TEST PASS:
</b>
18 The text area
’s background will change from red to green.
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.
26 <textarea rows=
"8" cols=
"40"></textarea>