Update web-platform-tests to revision ddfc95cf0493ae147a4f6a4d7be8eff1a0c23098

This commit is contained in:
Anthony Ramine 2018-01-18 10:15:04 +01:00
parent 1f6a864ab5
commit 7e6290451f
832 changed files with 16026 additions and 2649 deletions

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<title>Reference for the content CSS attribute can replace an element's contents</title>
<img src='resources/rect.svg' />

View file

@ -0,0 +1,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>

View file

@ -0,0 +1,3 @@
<svg width="100" height="100" version="1.1" xmlns="http://www.w3.org/2000/svg">
<rect x="0" y="0" width="100" height="100" fill="green" />
</svg>

After

Width:  |  Height:  |  Size: 148 B