mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision 59b44d7f1299fd1da23d4bf1f0ffdee3f2b7206c
This commit is contained in:
parent
2560e78f11
commit
71a09c2c01
90 changed files with 988 additions and 480 deletions
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Background and Border Test:background-size conflicts with background-attachment</title>
|
||||
<link rel="author" title="xiaochun" href="mailto:stenders@163.com">
|
||||
<link rel="reviewer" title="Jinlong Zhang" href="mailto:jinlongz@oupeng.com"><!--2012/10/21-->
|
||||
<meta name="assert" content="The test passes if we can see the background-image is exactly same as above.">
|
||||
<style type="text/css">
|
||||
.backgroundSize{
|
||||
width:295px;
|
||||
height:289px;
|
||||
|
||||
background-image:url(../support/bg.jpg);
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
The image used as background-image is :<br />
|
||||
<img src="../support/bg.jpg" />
|
||||
|
||||
<p>The test passes if we can see the background-image is exactly same as above.</p>
|
||||
<div class="container">
|
||||
<!-- This is the box that should only contains an image if the test passes -->
|
||||
<div class="backgroundSize">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,34 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS border-radius Test</title>
|
||||
<style type="text/css">
|
||||
.redSquare {
|
||||
position: absolute;
|
||||
left:50px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-image:url(../support/yyy.png);
|
||||
}
|
||||
.greenSquare {
|
||||
position: absolute;
|
||||
left:50px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-image:url(../support/yy.png);
|
||||
}
|
||||
.container {
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if there is one graph with one color.</p>
|
||||
<div class="container">
|
||||
<!-- This is the graph that should not be visible if the test passes -->
|
||||
<div id="green" class="greenSquare"></div>
|
||||
<!-- This is the square being tested with the radius-->
|
||||
<div id="red" class="redSquare">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue