blob: a78e9f713b2428763ed4244aae1b6269a15d6637 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!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>
|