mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
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
24 lines
919 B
HTML
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>
|