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

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

Issue 2202493002: NOT FOR REVIEW: Fullscreen WIP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 1 month 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 descendant 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(document.querySelector("div"));
13
14 document.addEventListener("fullscreenchange", this.step_func_done(function()
15 {
16 // The scrollbar should be removed.
17 assert_equals(getComputedStyle(root).overflow, "hidden");
18 assert_equals(root.clientWidth, window.innerWidth);
19 }));
20 });
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698