| Index: third_party/WebKit/LayoutTests/fullscreen/rendering/overflow.html
|
| diff --git a/third_party/WebKit/LayoutTests/fullscreen/rendering/overflow.html b/third_party/WebKit/LayoutTests/fullscreen/rendering/overflow.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..35baba197cbf66ac5fd57d7fa30c1d8b82eaca4a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fullscreen/rendering/overflow.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<title>overflow of root element when descendant is fullscreen</title>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../trusted-event.js"></script>
|
| +<style>:root { overflow: scroll; }</style>
|
| +<div id="log"></div>
|
| +<script>
|
| +async_test(function()
|
| +{
|
| + var root = document.documentElement;
|
| + trusted_request(document.querySelector("div"));
|
| +
|
| + document.addEventListener("fullscreenchange", this.step_func_done(function()
|
| + {
|
| + // The scrollbar should be removed.
|
| + assert_equals(getComputedStyle(root).overflow, "hidden");
|
| + assert_equals(root.clientWidth, window.innerWidth);
|
| + }));
|
| +});
|
| +</script>
|
|
|