Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / scrolling / fixed-position-behind-scrollbar.html
blobdf860f23c72deaa91ac75f55987b2bbb25204191
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <style>
4 #f {
5 position: fixed;
6 background-color: #def;
7 width: 600px;
8 height: 400px;
9 right: -20px;
10 bottom: -20px;
12 body {
13 width: 1000px;
14 height: 1000px;
16 </style>
17 Tests that the scrollbar can be clicked even when it clips a position:fixed
18 element, and that the scrollbars are excluded from the viewport for determining
19 the element's position.
20 <div id="f"></div>
21 <script>
23 eventSender.mouseMoveTo(790, 500);
24 eventSender.mouseDown();
25 eventSender.mouseUp();
27 var rect = document.querySelector("#f").getBoundingClientRect();
29 shouldBeTrue(String(scrollY > 0));
30 shouldBe(rect.left + "," + rect.top, "205,205");
32 </script>