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

Side by Side Diff: LayoutTests/fullscreen/full-screen-remove-ancestor-after.html

Issue 820633002: Reset mode on ancestors when a fullscreen node is removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <head> 1 <head>
2 <script> 2 <script>
3 var runPixelTests = true; 3 var runPixelTests = true;
4 var init = function() { 4 var init = function() {
5 var callback; 5 var callback;
6 var fullscreenChanged = function(event) 6 var fullscreenChanged = function(event)
7 { 7 {
8 if (callback) 8 if (callback)
9 callback(event) 9 callback(event)
10 }; 10 };
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 padding: 4px; 52 padding: 4px;
53 height: 384px; 53 height: 384px;
54 } 54 }
55 55
56 #three { 56 #three {
57 border: 4px solid darkblue; 57 border: 4px solid darkblue;
58 background-color: blue; 58 background-color: blue;
59 padding: 4px; 59 padding: 4px;
60 height: 368px; 60 height: 368px;
61 } 61 }
62 :-webkit-full-screen-ancestor {
63 background-color: yellow;
64 }
62 </style> 65 </style>
63 </head> 66 </head>
64 <body onload="init()"> 67 <body onload="init()">
65 68
66 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 compl etion of the test, a green box should be visible. Click <button onclick="goFullS creen()">go full screen</button> to run the test. 69 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 compl etion of the test, a green box should be visible. Click <button onclick="goFullS creen()">go full screen</button> to run the test.
67 70
68 <div id="one"> 71 <div id="one">
69 <div id="two"> 72 <div id="two">
70 <div id="three"></div> 73 <div id="three"></div>
71 </div> 74 </div>
72 </div> 75 </div>
73 </body> 76 </body>
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698