LibWeb: Add scroll-behavior CSS property

To quote the spec:
"User agents may ignore this property."
So that is what we do.
This commit is contained in:
Psychpsyo
2026-03-15 16:46:56 +01:00
committed by Sam Atkins
parent a141c2c492
commit 80a0a39b79
Notes: github-actions[bot] 2026-03-16 08:46:13 +00:00
14 changed files with 255 additions and 2 deletions

View File

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