servo/tests/wpt/css-tests/css-shapes-1_dev/html/shape-outside-inset-002.htm

31 lines
No EOL
1.6 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>Shape Outside Inset Valid Rounds</title>
<link href="http://html.adobe.com/" rel="author" title="Adobe">
<link href="mailto:betravis@adobe.com" rel="author" title="Bear Travis">
<link href="mailto:stearns@adobe.com" rel="reviewer" title="Alan Stearns"> <!-- 2014-03-04 -->
<link href="http://www.w3.org/TR/css-shapes-1/#funcdef-inset" rel="help">
<link href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property" rel="help">
<meta content="An inset's radial component has 1 to 4 length/percentages, optionally followed by a '/'
and an additional 1 to 4 length/percentages and lengths can be in any unit." name="assert">
<meta content="dom" name="flags">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/parsing-utils.js"></script>
</head>
<body>
<div id="log"></div>
<script type="text/javascript">
generate_tests( ParsingUtils.testInlineStyle,
ParsingUtils.generateInsetRoundCases('px', 'inline'));
generate_tests( ParsingUtils.testInlineStyle,
ParsingUtils.generateInsetRoundCases('%', 'inline'));
generate_tests( ParsingUtils.testComputedStyle,
ParsingUtils.generateInsetRoundCases('px', 'computed'));
generate_tests( ParsingUtils.testComputedStyle,
ParsingUtils.generateInsetRoundCases('%', 'computed'));
</script>
</body></html>