Index: LayoutTests/fast/dom/HTMLDialogElement/dont-share-style-to-top-layer-expected.html |
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/dont-share-style-to-top-layer-expected.html b/LayoutTests/fast/dom/HTMLDialogElement/dont-share-style-to-top-layer-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..535ac935607094ee8c90e075e11263d36094a296 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLDialogElement/dont-share-style-to-top-layer-expected.html |
@@ -0,0 +1,13 @@ |
+<!doctype html> |
+<style> |
+#non-modal { |
+ position: static; |
+} |
+</style> |
+<p>Test that a non-top layer element doesn't share style with a top layer |
+element. The test passes if you see two boxes.</p> |
+<dialog id="non-modal" open></dialog> |
+<dialog id="modal"></dialog> |
+<script> |
+document.querySelector('#modal').showModal(); |
+</script> |