Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-typed-om/the-stylepropertymap/properties/container-name.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>'contain' property</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<script src="resources/testsuite.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
runPropertyTests('container-name', [
{ syntax: 'none' },
// FIXME: This should be <custom-ident>, but the test harness doesn't
// currently support it.
{ syntax: 'my-container' },
]);
runUnsupportedPropertyTests('container-type', [
'name1 name2'
]);
</script>