summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/parsing/flex-grow-computed.html
blob: 7e8c4c429ee40632880b443a13881ec31ce358ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Flexible Box Layout: getComputedStyle().flexGrow</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#propdef-flex-grow">
<meta name="assert" content="flex-grow computed value is as specified.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("flex-grow", "1");
test_computed_value("flex-grow", "2.34e+06", ["2.34e+06", "2340000"]);
test_computed_value("flex-grow", "6.78e+08", ["6.78e+08", "678000000"]);
test_computed_value("flex-grow", "0");
</script>
</body>
</html>