scope-implicit-001-print.html (503B)
1 <!DOCTYPE html> 2 <link rel="author" title="David Shin" href="mailto:dshin@mozilla.com"> 3 <link rel="help" href="drafts.csswg.org/css-cascade-6/#scoped-styles"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1930618"> 6 <div> 7 <style> 8 @scope { 9 .a { 10 width: 100px; 11 height: 100px; 12 background: green; 13 } 14 } 15 </style> 16 <p>Test passes if there is a filled green square.</p> 17 <div class="a"></div> 18 </div>