| Index: LayoutTests/fast/forms/color/input-color-chooser-shown.html
|
| diff --git a/LayoutTests/fast/forms/color/input-color-chooser-shown.html b/LayoutTests/fast/forms/color/input-color-chooser-shown.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5328d378b56656ffb01204fc3b64cd1589680044
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/color/input-color-chooser-shown.html
|
| @@ -0,0 +1,35 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<body>
|
| +<script src="../../../fast/js/resources/js-test-pre.js"></script>
|
| +<script src="../resources/common.js"></script>
|
| +<div id="host" tabindex="1">
|
| + <input id="target" type="color" value="#000000">
|
| +</div>
|
| +<script>
|
| +
|
| +if (window.eventSender) {
|
| + window.jsTestIsAsync = true
|
| +
|
| + clickElement(target);
|
| + shouldBeTrue("testRunner.isChooserShown()");
|
| +
|
| + target.style.display = "none";
|
| +
|
| + var nwait = 5;
|
| + function testClosed()
|
| + {
|
| + nwait--;
|
| + if (0 < nwait)
|
| + return window.setTimeout(testClosed, 0);
|
| + shouldBeFalse("testRunner.isChooserShown()");
|
| + finishJSTest();
|
| + }
|
| +
|
| + window.setTimeout(testClosed, 0);
|
| +}
|
| +
|
| +</script>
|
| +<script src="../../../fast/js/resources/js-test-post.js"></script>
|
| +</body>
|
| +</html>
|
|
|