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
18 lines
704 B
HTML
18 lines
704 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Overflow: parsing scroll-axis-lock property valid 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_valid_value('scroll-axis-lock', 'initial');
|
|
test_valid_value('scroll-axis-lock', 'inherit');
|
|
test_valid_value('scroll-axis-lock', 'unset');
|
|
test_valid_value('scroll-axis-lock', 'revert');
|
|
|
|
test_valid_value("scroll-axis-lock", 'auto');
|
|
test_valid_value("scroll-axis-lock", 'none');
|
|
</script>
|