diff options
Diffstat (limited to 'testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html')
-rw-r--r-- | testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html new file mode 100644 index 000000000..074f0b3c1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<meta charset="utf-8" /> +<title>display: none set dynamically</title> + +<p id="hidden">Should not be visible</span> + +<script> + var hidden = document.getElementById("hidden"); + hidden.style.display = "none"; +</script> |