testing/web-platform/tests/css/css-masking/parsing/mask-repeat-invalid.html
author Sotaro Ikeda <sotaro.ikeda.g@gmail.com>
Thu, 10 Jul 2025 00:10:09 +0000 (5 hours ago)
changeset 795941 23763b72c35abeead04f63e4503c28abc73d065d
parent 684235 07b248f229b296b771ed67c80c04636ef75a5916
permissions -rw-r--r--
Bug 1976135 - Remove nightly only limitation of pref gfx.webrender.layer-compositor r=gfx-reviewers,gw Differential Revision: https://phabricator.services.mozilla.com/D256379
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Masking Module Level 1: parsing mask-repeat with invalid values</title>
<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#the-mask-repeat">
<meta name="assert" content="mask-repeat supports only the grammar.">
<!--
<mask-repeat> = <repeat-style>#
<repeat-style> = repeat-x | repeat-y | [repeat | space | round | no-repeat]{1,2}
 -->
<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("mask-repeat", "auto");
test_invalid_value("mask-repeat", "repeat-z");
test_invalid_value("mask-repeat", "repeat undefined");
test_invalid_value("mask-repeat", "undefined repeat");
test_invalid_value("mask-repeat", "repeat; round");
</script>
</body>
</html>