Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-conditional/container-queries/inner-first-line-non-matching.html
<!doctype html> <title>CSS Container Queries Test: Non-matching ::first-line in @container</title> <link rel="help" href="https://drafts.csswg.org/css-conditional-5/#container-queries"> <link rel="match" href="inner-first-line-non-matching-ref.html"> <style> #outer::first-line { color: green } @container (width > 99999px) { #inner::first-line { color: red } } </style> <div id="outer"> <div id="inner">This text should be green.</div> </div>
/css/css-conditional/container-queries/inner-first-line-non-matching-ref.html
<!doctype html> <title>CSS Test Reference</title> <div style="color:green">This text should be green.</div>