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

Unified Diff: LayoutTests/fullscreen/full-screen-zIndex-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-zIndex-after-expected.html
diff --git a/LayoutTests/fullscreen/full-screen-zIndex-after-expected.html b/LayoutTests/fullscreen/full-screen-zIndex-after-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..57245551110da2d732ea74c87103ccbaf07f3936
--- /dev/null
+++ b/LayoutTests/fullscreen/full-screen-zIndex-after-expected.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<style>
+ #block1 {
+ width: 200px;
+ height: 100px;
+ border: 4px solid darkgreen;
+ background-color: green;
+ }
+ #block2 {
+ width: 100px;
+ height: 50px;
+ border: 4px solid darkred;
+ background-color: red;
+ z-index: 200;
+ position: relative;
+ left: 50px;
+ top: 25px;
+ }
+ #block3 {
+ z-index: 500;
+ position: relative;
+ }
+</style>
+<div>This tests that an element with a positive z-index appears behind the full screen element.
+ After entering full screen mode, the green box should not be obscured by the red box.
+ Click <button>go full screen</button> to run the test.</div>
+<div id="block2"></div>
+<div id="block3">
+ <div id="block1"></div>
+</div>
+<div>END OF TEST</div>
« no previous file with comments | « LayoutTests/fullscreen/full-screen-zIndex-after.html ('k') | LayoutTests/fullscreen/full-screen-zIndex-after-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698