gecko-dev/testing/web-platform/tests/css/css-overscroll-behavior/inheritance.html
Eric Willigers 95cbdd26d4 Bug 1570909 [wpt PR 18251] - CSS: WPTs for logical overscroll-behavior inheritance, a=testonly
Automatic update from web-platform-tests
CSS: WPTs for logical overscroll-behavior inheritance

The logical overscroll-behavior-* properties do not inherit.
https://drafts.csswg.org/css-overscroll-behavior/#property-index

Change-Id: Ia9b69006d8d908f43be600a4862f23670db14dcc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731339
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#683580}

--

wpt-commits: 2cc74389f28036c6d17f111c1ab4d240f1bcd1c7
wpt-pr: 18251
2019-08-07 13:18:28 +00:00

24 lines
919 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inheritance of CSS Overscroll Behavior properties</title>
<link rel="help" href="https://drafts.csswg.org/css-overscroll-behavior/#property-index">
<meta name="assert" content="Properties inherit or not according to the spec.">
<meta name="assert" content="Properties have initial values according to the spec.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
</head>
<body>
<div id="container">
<div id="target"></div>
</div>
<script>
assert_not_inherited('overscroll-behavior-block', 'auto', 'contain');
assert_not_inherited('overscroll-behavior-inline', 'auto', 'contain');
assert_not_inherited('overscroll-behavior-x', 'auto', 'contain');
assert_not_inherited('overscroll-behavior-y', 'auto', 'contain');
</script>
</body>
</html>