element-replacement.html (467B)
1 <!DOCTYPE html> 2 <title>The content CSS attribute can replace an element's contents</title> 3 <link rel="match" href="element-replacement-ref.html" /> 4 <link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property" /> 5 <meta name="assert" content"This test checks that the CSS content propertly can replace a normal element's contents" /> 6 7 <style> 8 p { 9 margin: 0; 10 content: url('resources/rect.svg'); 11 } 12 </style> 13 14 <p>This text should not be visible</p>