Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-content/element-replacement.html
<!DOCTYPE html> <title>The content CSS attribute can replace an element's contents</title> <link rel="match" href="element-replacement-ref.html" /> <link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property" /> <meta name="assert" content"This test checks that the CSS content propertly can replace a normal element's contents" /> <style> p { margin: 0; content: url('resources/rect.svg'); } </style> <p>This text should not be visible</p>
/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' />