blob: 937b8147c6fa682c6b93aeaf7dadc5dbdda4f03f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!doctype html>
<title>Invalid calc() expressions</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<link rel="help" href="https://drafts.csswg.org/css-values-4/#calc-syntax">
<script>
test_invalid_value('transform', 'rotate(calc((0.25turn error)))');
test_invalid_value('width', 'calc(7px * up)');
test_invalid_value('width', 'round(nearest, 1px, 1px, 1px)');
test_invalid_value('width', 'round(nearest, 1px)');
</script>
|