Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-cascade/scope-implicit-004-print.xhtml - WPT Dashboard Interop Dashboard
<?xml-stylesheet href="resources/scope-implicit.css" type="text/css"?>
<link rel="author" title="David Shin" href="mailto:dshin@mozilla.com" />
<link rel="help" href="drafts.csswg.org/css-cascade-6/#scoped-styles" />
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html" />
<body>
<div>
<style>
@scope {
.a {
width: 100px;
height: 100px;
background: green;
}
}
</style>
<p>Test passes if there is a filled green square.</p>
<div class="a"></div>
</div>
</body>
</html>