darin | fbd3ba2 | 2006-04-17 05:46:53 +0000 | [diff] [blame] | 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://bugzilla.opendarwin.org/show_bug.cgi?id=8324">Bugzilla bug 8324</a> REGRESSION: textarea :focus not applied immediately</p> |
| 12 | |
| 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> |
| 16 | |
| 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. |
| 19 | </p> |
| 20 | |
| 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> |
| 25 | |
| 26 | <textarea rows="8" cols="40"></textarea> |
| 27 | |
| 28 | </body> |
| 29 | </html> |