Files
sousa-gecko/testing/web-platform/tests/css/css-overflow/parsing/scroll-axis-lock-invalid.html
T
David Awogbemila 2f2f8b6e47 Bug 2040808 [wpt PR 59985] - Parse scroll-axis-lock property, a=testonly
Automatic update from web-platform-tests
Parse scroll-axis-lock property

This implements the parsing of the scroll-axis-lock[1] property which
takes 'auto' and 'none' as keywords.

[1]
https://github.com/w3c/csswg-drafts/issues/13207#issuecomment-3808193000

Bug: 479472367
Change-Id: Ie520339487027dafd4ff8754d93731a54ed55fc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7841432
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: David A <awogbemila@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1633619}

--

wpt-commits: ff3dd2c64b3c94d5a331c3e335165c3bbd0ece9f
wpt-pr: 59985
2026-05-22 14:17:33 +00:00

18 lines
766 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Overflow: parsing scroll-axis-lock property invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-axis-lock">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<div id="target"></div>
<script>
test_invalid_value('scroll-axis-lock', '10');
test_invalid_value('scroll-axis-lock', 'true');
test_invalid_value('scroll-axis-lock', 'default');
test_invalid_value('scroll-axis-lock', 'all');
test_invalid_value('scroll-axis-lock', 'auto, none');
test_invalid_value('scroll-axis-lock', 'always');
test_invalid_value('scroll-axis-lock', 'both');
</script>