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

Side by Side Diff: third_party/WebKit/LayoutTests/fullscreen/rendering/overflow-root.html

Issue 2107233002: Reland "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new untested DCHECK 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>overflow of root element when root element itself is fullscreen</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="../trusted-event.js"></script>
6 <style>:root { overflow: scroll; }</style>
7 <div id="log"></div>
8 <script>
9 async_test(function()
10 {
11 var root = document.documentElement;
12 trusted_request(root, document.body);
13
14 document.addEventListener("fullscreenchange", this.step_func_done(function()
15 {
16 // The scrollbar should remain.
17 assert_equals(getComputedStyle(root).overflow, "scroll");
18 assert_less_than(root.clientWidth, window.innerWidth);
19 }));
20 });
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698