mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
Automatic update from web-platform-tests [css-scroll-snap] Parsing scroll-margin* Test parsing and serialization of the properties scroll-margin* and scroll-snap* https://drafts.csswg.org/css-scroll-snap-1/#property-index -- scroll-margin* reject all percentages -- Consolidate scroll-margin parsing tests Consolidate longhand tests into the shorthand parsing test files. -- wpt-commits: 0e46b25f365f3a3774acf7f46425570eafdf6a4f, 4cbc3f96262a22111b03343ca171fb8fbfcedc31, a090d4a741d89176effd4a9402edd296553de64c wpt-pr: 14786
19 lines
635 B
HTML
19 lines
635 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Scroll Snap Test: scroll-snap-stop with invalid values</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-stop">
|
|
<meta name="assert" content="scroll-snap-stop supports only the grammar 'normal | always'.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/parsing-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
test_invalid_value("scroll-snap-stop", "auto");
|
|
|
|
test_invalid_value("scroll-snap-stop", "normal always");
|
|
</script>
|
|
</body>
|
|
</html>
|