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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style.html

Issue 2168373002: Revert of Reland "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve WebFrameTest.cpp conflict and appease presubmit Created 4 years, 5 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: third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style.html
index 0d898c9dd22ac25a2739fa672178716dd807106b..0ae491e8398e5630e2570e75c4fc54fb426ad8fb 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style.html
@@ -5,16 +5,18 @@
document.offsetWidth;
frame.contentDocument.offsetWidth;
var videoEnteredFullScreen = function() {
- test("getComputedStyle(document.documentElement).overflow == 'hidden'");
+ test("getComputedStyle(ancestor).position == 'static'");
endTest();
};
waitForEvent(frame.contentDocument, "webkitfullscreenchange", videoEnteredFullScreen);
- test("getComputedStyle(document.documentElement).overflow == 'visible'");
+ test("getComputedStyle(ancestor).position == 'relative'");
runWithKeyDown(function(){
frame.contentDocument.querySelector("video").webkitRequestFullScreen();
});
}
</script>
-<iframe allowfullscreen id="frame" src="data:text/html,<video></video>" onload="runTest()"></iframe>
+<div id="ancestor" style="position:relative">
+ <iframe allowfullscreen id="frame" src="data:text/html,<video></video>" onload="runTest()"></iframe>
+</div>

Powered by Google App Engine
This is Rietveld 408576698