diff options
Diffstat (limited to 'Source/WebCore/manual-tests/textarea-focus.html')
-rw-r--r-- | Source/WebCore/manual-tests/textarea-focus.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/textarea-focus.html b/Source/WebCore/manual-tests/textarea-focus.html new file mode 100644 index 0000000..53afe9e --- /dev/null +++ b/Source/WebCore/manual-tests/textarea-focus.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html lang="en"> +<head> +<style type="text/css"> + textarea { background: red; } + textarea:focus { background: green; } +</style> +</head> +<body> +<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> + +<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> +Click in the red text area below. +</p> + +<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> +The text area’s background will change from red to green. +</p> + +<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> +The text area will not change to green. Only switching to another window and back to this window +will change it to green. +</p> + +<textarea rows="8" cols="40"></textarea> + +</body> +</html> |