-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
fb15e14
commit 69a2952
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
spec: https://drafts.csswg.org/css-overscroll-behavior/ | ||
suggested_reviewers: | ||
- majido |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!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-x', 'auto', 'contain'); | ||
assert_not_inherited('overscroll-behavior-y', 'auto', 'contain'); | ||
</script> | ||
</body> | ||
</html> |