Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 24 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-inline/text-box-trim/parsing/text-box-edge-computed.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>text-box getComputedStyle() returns correctly resolved values</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<script src="values.js"></script>
<body>
<div id="target"></div>
<script>
for (let value of text_box_edge_values) {
if (Array.isArray(value)) {
test_computed_value('text-box-edge', ...value);
} else {
test_computed_value('text-box-edge', value);
}
}
</script>
</body>