Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-content/pseudo-element-inline-box.html
<!doctype html> <title>CSS Test: content: url() on pseudo-elements is under a non-replaced box.</title> <link rel="match" href="pseudo-element-inline-box-ref.html"> <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu"> <link rel="help" href="https://drafts.csswg.org/css-content/#typedef-content-content-list"> <style> div::before { border: 10px solid blue; content: url(resources/rect.svg); display: inline; } </style> <p>Should see a green image with a blue border</p> <div></div>
/css/css-content/pseudo-element-inline-box-ref.html
<!doctype html> <title>CSS Test Reference</title> <p>Should see a green image with a blue border</p> <div> <span style="border: 10px solid blue"> <img src="resources/rect.svg"> </span> </div>