aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-overflow/overflow-clip-margin-008-ref.html
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2022-01-20 04:38:55 +0000
committercybai <cyb.ai.815@gmail.com>2022-01-20 20:57:54 +0900
commitb77ad115f671315056a828e213bb77dd377c9942 (patch)
tree84e4afe4ec5986b617d0383ef953406329274a16 /tests/wpt/web-platform-tests/css/css-overflow/overflow-clip-margin-008-ref.html
parent4401622eb11a4719c17446bec19d3a80fa585d28 (diff)
downloadservo-b77ad115f671315056a828e213bb77dd377c9942.tar.gz
servo-b77ad115f671315056a828e213bb77dd377c9942.zip
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-overflow/overflow-clip-margin-008-ref.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/overflow-clip-margin-008-ref.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/overflow-clip-margin-008-ref.html b/tests/wpt/web-platform-tests/css/css-overflow/overflow-clip-margin-008-ref.html
new file mode 100644
index 00000000000..3af9e4e951d
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/overflow-clip-margin-008-ref.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html class="reftest">
+<meta charset="utf-8">
+<title>Overflow-clip-margin has no effect with overflow:scroll and paint containment (ref)</title>
+<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow-clip-margin">
+<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
+<style>
+.container {
+ width: 100px;
+ height: 100px;
+ contain: paint;
+ overflow: scroll;
+}
+.child {
+ width: 200px;
+ height: 200px;
+ background: lightblue;
+}
+</style>
+<div class=container>
+ <div class=child></div>
+</div>