aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html
blob: bbd443a717ab3c4acf1c7be52df4d92b9b8a9d03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Transform Module Level 2: parsing scale with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#propdef-scale">
<meta name="assert" content="scale supports the full grammar 'none | <number>{1,3}'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("scale", "none");

test_valid_value("scale", "1");

test_valid_value("scale", "100");
test_valid_value("scale", "100 100", "100");
test_valid_value("scale", "100 100 1", "100");

test_valid_value("scale", "100 200");
test_valid_value("scale", "100 200 1", "100 200");
test_valid_value("scale", "100 200 300");
</script>
</body>
</html>