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-003-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<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="scope-implicit-003-print-ref.html">
<p>Test passes if there is a filled green square.</p>
<svg width="100" height="100" viewBox="0 0 100 100">
<style>
@scope {
.a {
fill: green;
}
}
</style>
<rect class="a" x="0" y="0" width="100" height="100" />
</svg>