scope-implicit-003-print.html (548B)
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="scope-implicit-003-print-ref.html"> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1930618"> 6 <p>Test passes if there is a filled green square.</p> 7 <svg width="100" height="100" viewBox="0 0 100 100"> 8 <style> 9 @scope { 10 .a { 11 fill: green; 12 } 13 } 14 </style> 15 <rect class="a" x="0" y="0" width="100" height="100" /> 16 </svg>