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

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

Issue 1823143002: Ensure fullscreen.css loaded for ancestor invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure fullscreen.css loaded for all fullscreen pseudoStateChanged Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="full-screen-test.js"></script>
3 <div id="ancestor" style="position:relative">
4 <iframe allowfullscreen id="frame" src="data:text/html,<video></video>" onlo ad="runTest()"></iframe>
philipj_slow 2016/03/29 12:17:37 I think that in principle it's possible that the i
rune 2016/03/29 12:41:34 Done.
5 </div>
6 <script>
7 function runTest() {
8 document.offsetWidth;
9 frame.contentDocument.offsetWidth;
10 var videoEnteredFullScreen = function() {
11 test("getComputedStyle(ancestor).position == 'static'");
12 endTest();
13 };
14 waitForEvent(frame.contentDocument, "webkitfullscreenchange", videoEnter edFullScreen);
15
16 test("getComputedStyle(ancestor).position == 'relative'");
17
18 runWithKeyDown(function(){
19 frame.contentDocument.querySelector("video").webkitRequestFullScreen ();
20 });
21 }
22 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-ua-style-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698