1
0
Fork 0
firefox/testing/web-platform/tests/css/css-content/element-replacement.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

14 lines
467 B
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>