Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-anchor-position/parsing/position-try-computed.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Anchor Positioning Test: Computed position-try</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<div id="target"></div>
<script>
test_computed_value("position-try", "none");
test_computed_value("position-try", "normal none", "none");
test_computed_value("position-try", "flip-block");
test_computed_value("position-try", "most-width none");
test_computed_value("position-try", "most-height flip-block, flip-inline");
test_computed_value("position-try", "most-width --foo, --bar");
test_computed_value("position-try", "normal --foo", "--foo");
</script>