Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/selectors/featureless-003.html
<!doctype html> <meta charset="utf-8"> <title>Selector lists match if any child selector does</title> <link rel="help" href="https://drafts.csswg.org/selectors-4/#featureless"> <link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html"> <p>Test passes if there is a filled green square.</p> <div class=host> <template shadowrootmode="open"> <style> div { width: 100px; height: 25px; } .red { background-color: red; } .green { background-color: green; } :host .t1, .error { background-color: green; } div:host .t2, :host .t2 { background-color: green; } div:host .t3, *:host .t3 { background-color: red; } /* no t4 test needed, just leaving the element in to prevent careful rounding from being necessary. */ </style> <div class="red t1"></div> <div class="red t2"></div> <div class="green t3"></div> <div class="green t4"></div> <slot></slot> </template> <section></section> </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>