Skip to content

Commit

Permalink
[css-overscroll-behavior] Inheritance, initial
Browse files Browse the repository at this point in the history
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
ericwilligers committed Oct 23, 2018
1 parent 56f025c commit 70b9603
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/css-overscroll-behavior/META.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spec: https://drafts.csswg.org/css-overscroll-behavior/
suggested_reviewers:
- frivoal
- majido
- plinss
22 changes: 22 additions & 0 deletions css/css-overscroll-behavior/inheritance.html
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>

0 comments on commit 70b9603

Please sign in to comment.