Index: LayoutTests/fullscreen/full-screen-remove-ancestor-after-expected.html |
diff --git a/LayoutTests/fullscreen/full-screen-remove-ancestor-after-expected.html b/LayoutTests/fullscreen/full-screen-remove-ancestor-after-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a86feeaab015b349bda5f4bf631d140517ad3fd2 |
--- /dev/null |
+++ b/LayoutTests/fullscreen/full-screen-remove-ancestor-after-expected.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<style> |
+#one { |
+ border: 4px solid darkgreen; |
+ background-color: green; |
+ width: 600px; |
+ height: 400px; |
+ padding: 4px; |
+} |
+</style> |
+This tests that, if the ancestor of the current full-screen element is removed, full screen mode will exit, and the document will render normally. At the completion of the test, a green box should be visible. Click <button>go full screen</button> to run the test. |
+<div id="one"></div> |
+<div>END OF TEST</div> |