Skip to content

Commit 5af37dd

Browse files
ericwilligerszcorpan
authored andcommitted
[cssom-view] Inheritance of CSSOM View properties
Properties inherit or not according to the spec. Properties have initial values according to the spec. https://drafts.csswg.org/cssom-view/#property-index
1 parent 5a889be commit 5af37dd

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

css/cssom-view/inheritance.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Inheritance of CSSOM View properties</title>
6+
<link rel="help" href="https://drafts.csswg.org/cssom-view/#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('scroll-behavior', 'auto', 'smooth');
19+
</script>
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)