forked from mirrors/gecko-dev
Automatic update from web-platform-tests[css-scroll-anchoring] Inheritance, initial value Test that property inherits according to spec. Test that property has initial value according to spec. https://drafts.csswg.org/css-scroll-anchoring/#property-index -- Merge pull request #13574 from ewilligers/scroll-anchoring-inheritance [css-scroll-anchoring] Inheritance, initial value -- wpt-commits: 1772ed703f2135623e5443bb3a07b1d0110f7076, ca59071370a1e596a021ddea991de64cc374a545 wpt-pr: 13574
21 lines
670 B
HTML
21 lines
670 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Inheritance of CSS Scroll Anchoring properties</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-scroll-anchoring/#property-index">
|
|
<meta name="assert" content="overflow-anchor does not inherit.">
|
|
<meta name="assert" content="overflow-anchor has initial value 'none'.">
|
|
<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('overflow-anchor', 'auto', 'none');
|
|
</script>
|
|
</body>
|
|
</html>
|