diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-26 10:48:30 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-06-26 10:48:30 +0200 |
commit | 1359e8e4624d10ceb0bf55bcb1cb2903141c6d38 (patch) | |
tree | 131f289fd18efb5b28653f6b5d83953f8e6c820b /tests/wpt/web-platform-tests/css/css-overflow/overflow-empty-child-box.html | |
parent | f017169ae482effc446384050e79b752bd9ddfe5 (diff) | |
download | servo-1359e8e4624d10ceb0bf55bcb1cb2903141c6d38.tar.gz servo-1359e8e4624d10ceb0bf55bcb1cb2903141c6d38.zip |
Move `tests/wpt/web-platform-tests` to `tests/wpt/tests`
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-overflow/overflow-empty-child-box.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-overflow/overflow-empty-child-box.html | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/overflow-empty-child-box.html b/tests/wpt/web-platform-tests/css/css-overflow/overflow-empty-child-box.html deleted file mode 100644 index 880e0d36848..00000000000 --- a/tests/wpt/web-platform-tests/css/css-overflow/overflow-empty-child-box.html +++ /dev/null @@ -1,59 +0,0 @@ -<!DOCTYPE html> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html> - <meta charset="utf-8"> - <title>CSS Overflow Test: Testing an empty child box and its container's scrollable overflow area</title> - <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> - <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> - <link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable"> - <meta name="assert" content="This test verifies that an empty child box shouldn't contribute to its parents scrollable overflow area."> - - <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> - <script src="/resources/check-layout-th.js"></script> - - <style> - .container { - border: 1px solid black; - width: 200px; - height: 100px; - } - - .empty { - position: relative; - width: 0px; - height: 0px; - left: 500px; - top: 300px; - box-shadow: 0 0 0 10px blue; - } - </style> - - <body onload="checkLayout('.container')"> - <p>You should see no scrollbars in these container because an empty child - box shouldn't contribute to its parents scrollable overflow area. </p> - - <div class="container" style="overflow: visible" - data-expected-scroll-width="200" data-expected-scroll-height="100"> - <div class="empty"></div> - </div> - - <div class="container" style="overflow: auto" - data-expected-scroll-width="200" data-expected-scroll-height="100"> - <div class="empty"></div> - </div> - - <div class="container" style="overflow: hidden" - data-expected-scroll-width="200" data-expected-scroll-height="100"> - <div class="empty"></div> - </div> - - <div class="container" style="overflow: clip" - data-expected-scroll-width="200" data-expected-scroll-height="100"> - <div class="empty"></div> - </div> - </body> -</html> |