Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: LayoutTests/fullscreen/full-screen-remove-ancestor-after-expected.html

Issue 457663002: Convert more fullscreen tests to reftests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address feedback Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698