mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><title>CSS Backgrounds: background-image p tag</title>
|
||||
<link href="
|
||||
http://www.justin-hill.com" rel="author" title="Justin Hill">
|
||||
<link href="http://www.w3.org/TR/css3-background/#the-background-image" rel="help">
|
||||
<link href="reference/background-image-001-ref.htm" rel="match">
|
||||
<meta content="Test checks that background-image displays raster image for p tag." name="assert">
|
||||
<style>
|
||||
.container {
|
||||
top:50px;
|
||||
left:50px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.container p {
|
||||
width:100px;
|
||||
height:100px;
|
||||
color:transparent;
|
||||
font-size: 50px;
|
||||
background-image: url("support/green.png");
|
||||
background-color: red;
|
||||
display: block;
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<p> Test passes if green image shows and no red visable.</p>
|
||||
<div class="container">
|
||||
<p>x</p>
|
||||
</div>
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue