wpt / css / css-cascade / scope-implicit-006-print.html

Status: FAIL | Duration: 13ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-cascade/scope-implicit-006-print.html

<!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="../reference/ref-filled-green-100px-square-only.html">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1930618">
<div>
<style id="os">
  @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>
  <template shadowrootmode=open>
    <style id="is">
      @scope {
        .a {
          width: 100px;
          height: 100px;
          background: red;
        }
      }
    </style>
  </template>
</div>
</div>

/css/reference/ref-filled-green-100px-square-only.html

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<p>Test passes if there is a filled green square.</p>
<div style="width:100px; height:100px; background:green;"></div>