Skip to content

Commit 69a2952

Browse files
authored
[css-overscroll-behavior] Inheritance, initial (#13677)
Properties inherit or not according to the spec. Properties have initial values according to the spec. https://drafts.csswg.org/css-overscroll-behavior/#property-index
1 parent fb15e14 commit 69a2952

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
spec: https://drafts.csswg.org/css-overscroll-behavior/
2+
suggested_reviewers:
3+
- majido
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Inheritance of CSS Overscroll Behavior properties</title>
6+
<link rel="help" href="https://drafts.csswg.org/css-overscroll-behavior/#property-index">
7+
<meta name="assert" content="Properties inherit or not according to the spec.">
8+
<meta name="assert" content="Properties have initial values according to the spec.">
9+
<script src="/resources/testharness.js"></script>
10+
<script src="/resources/testharnessreport.js"></script>
11+
<script src="/css/support/inheritance-testcommon.js"></script>
12+
</head>
13+
<body>
14+
<div id="container">
15+
<div id="target"></div>
16+
</div>
17+
<script>
18+
assert_not_inherited('overscroll-behavior-x', 'auto', 'contain');
19+
assert_not_inherited('overscroll-behavior-y', 'auto', 'contain');
20+
</script>
21+
</body>
22+
</html>

0 commit comments

Comments
 (0)