Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-contain/container-queries/container-type-computed.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>Computed values of container-type</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<script src="support/cq-testcommon.js"></script>
<div id="target"></div>
<script>
setup(() => assert_implements_container_queries());
test_computed_value('container-type', 'initial', 'normal');
test_computed_value('container-type', 'unset', 'normal');
test_computed_value('container-type', 'inline-size');
test_computed_value('container-type', 'size');
test_computed_value('container-type', 'normal');
</script>