Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-conditional/container-queries/container-inheritance.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>CSS Conditional Test: Inheritance of container-*</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
<script src="support/cq-testcommon.js"></script>
<div id="container">
<div id="target"></div>
</div>
<script>
setup(() => assert_implements_size_container_queries());
assert_not_inherited('container-name', 'none', 'foo');
assert_not_inherited('container-type', 'normal', 'inline-size');
</script>