GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — wpt/css/cssom-view/scroll-no-layout-box.html at master · web-platform-tests/wpt Expand file tree/ Copy pathscroll-no-layout-box.htmlMore file actions 21 lines (18 loc) · 742 Bytes / Copy pathscroll-no-layout-box.htmlFile metadata and controls21 lines (18 loc) · 742 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 <!DOCTYPE html> <meta charset=utf-8> <title>cssom-view - Scrolling element with no layout box</title> <link rel="help" href="https://drafts.csswg.org/cssom-view/#dom-element-scroll"> <link rel="help" href="https://drafts.csswg.org/cssom-view/#css-layout-box"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <div style="display: none"> <div id="elem"></div> </div> <script> test(() => { const elem = document.getElementById('elem'); elem.scroll(1, 2); assert_equals(elem.scrollTop, 0, "scrollTop should be unchanged"); assert_equals(elem.scrollLeft, 0, "scrollLeft should be unchanged"); }, "scrolling an element with no CSS layout box should have no effect"); </script> |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |