mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Backgrounds and Borders Module Level 3: parsing box-shadow with invalid values</title>
|
||||
<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#box-shadow">
|
||||
<meta name="assert" content="box-shadow supports only the grammar 'none | <shadow>#'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="resources/parsing-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_invalid_value("box-shadow", "auto");
|
||||
test_invalid_value("box-shadow", "1 2");
|
||||
test_invalid_value("box-shadow", "1% 2%");
|
||||
test_invalid_value("box-shadow", "1px calc(2px + 2%)");
|
||||
|
||||
test_invalid_value("box-shadow", "red inset");
|
||||
test_invalid_value("box-shadow", "1px");
|
||||
|
||||
test_invalid_value("box-shadow", "1px 2px 3px 4px 5px");
|
||||
test_invalid_value("box-shadow", "red 1px 2px blue");
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue