Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-content/element-replacement-image-alt.html
<!DOCTYPE html> <title>Content CSS property on img with alt and no src is honored</title> <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> <link rel="match" href="element-replacement-ref.html" /> <link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property"> <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1625805"> <style> img { content: url('resources/rect.svg'); } </style> <img alt="Something">
/css/css-content/element-replacement-ref.html
<!DOCTYPE html> <title>Reference for the content CSS attribute can replace an element's contents</title> <img src='resources/rect.svg' />