summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html')
-rw-r--r--testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html
new file mode 100644
index 000000000..37ca02391
--- /dev/null
+++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset="utf-8" />
+<title>display: none on parent takes presedence over visibility: visible on child node</title>
+
+<style>
+ #parent { display: none }
+ #child { visibility: visible }
+</style>
+
+<div id="parent">
+ <div id="child">
+ hidden
+ </div>
+</div>
+in \ No newline at end of file