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 0ae491e8398e5630e2570e75c4fc54fb426ad8fb..0d898c9dd22ac25a2739fa672178716dd807106b 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,18 +5,16 @@ |
document.offsetWidth; |
frame.contentDocument.offsetWidth; |
var videoEnteredFullScreen = function() { |
- test("getComputedStyle(ancestor).position == 'static'"); |
+ test("getComputedStyle(document.documentElement).overflow == 'hidden'"); |
endTest(); |
}; |
waitForEvent(frame.contentDocument, "webkitfullscreenchange", videoEnteredFullScreen); |
- test("getComputedStyle(ancestor).position == 'relative'"); |
+ test("getComputedStyle(document.documentElement).overflow == 'visible'"); |
runWithKeyDown(function(){ |
frame.contentDocument.querySelector("video").webkitRequestFullScreen(); |
}); |
} |
</script> |
-<div id="ancestor" style="position:relative"> |
- <iframe allowfullscreen id="frame" src="data:text/html,<video></video>" onload="runTest()"></iframe> |
-</div> |
+<iframe allowfullscreen id="frame" src="data:text/html,<video></video>" onload="runTest()"></iframe> |