servo/tests/wpt/web-platform-tests/css/css-overflow/parsing/scrollbar-gutter-valid.html

26 lines
1.2 KiB
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS Overflow: parsing valid scrollbar-gutter declarations</title>
<link rel="author" title="Felipe Erias Morandeira" href="mailto:felipeerias@gmail.com"/>
<link rel="help" href="https://www.w3.org/TR/css-overflow-4/#scollbar-gutter-property"/>
<meta name="assert" content="Parsing valid scrollbar-gutter declarations">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test_valid_value("scrollbar-gutter", "auto");
test_valid_value("scrollbar-gutter", "stable");
test_valid_value("scrollbar-gutter", "stable both");
test_valid_value("scrollbar-gutter", "stable force");
test_valid_value("scrollbar-gutter", "stable both force");
test_valid_value("scrollbar-gutter", "always");
test_valid_value("scrollbar-gutter", "always both");
test_valid_value("scrollbar-gutter", "always force");
test_valid_value("scrollbar-gutter", "always both force");
test_valid_value("scrollbar-gutter", "force both stable", "stable both force");
test_valid_value("scrollbar-gutter", "force always both", "always both force");
</script>