mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision b'1d9b01e2fad6af3a057d571b1e088e15fa9bc8e6'
This commit is contained in:
parent
cfef75c99b
commit
bb34f95b33
1683 changed files with 37170 additions and 4252 deletions
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reftest Reference</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style>
|
||||
div
|
||||
{
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
div.vertical
|
||||
{
|
||||
height: 75px;
|
||||
margin-left: 75px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
div.horizontal
|
||||
{
|
||||
height: 50px;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there are 2 identical filled green plus ("+") signs and <strong>no red</strong>.
|
||||
|
||||
<div class="vertical"></div>
|
||||
|
||||
<div class="horizontal"></div>
|
||||
|
||||
<div class="vertical" style="margin-bottom: 10px;"></div>
|
||||
|
||||
<div class="vertical"></div>
|
||||
|
||||
<div class="horizontal"></div>
|
||||
|
||||
<div class="vertical"></div>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reftest Reference</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style>
|
||||
div
|
||||
{
|
||||
background-color: green;
|
||||
height: 100px;
|
||||
margin-left: 50px;
|
||||
margin-top: 66px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.
|
||||
|
||||
<div></div>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reftest Reference</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style>
|
||||
div#outer-yellow
|
||||
{
|
||||
background-color: yellow;
|
||||
height: 100px;
|
||||
padding: 50px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
div#inner-green
|
||||
{
|
||||
background-color: green;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if there is a filled green square surrounded by a yellow square and if there is <strong>no red</strong>.
|
||||
|
||||
<div id="outer-yellow">
|
||||
<div id="inner-green"></div>
|
||||
</div>
|
|
@ -3,13 +3,13 @@
|
|||
<head>
|
||||
<title>CSS border-radius Test</title>
|
||||
<style type="text/css">
|
||||
.redSquare{
|
||||
.blueSquare{
|
||||
position: absolute;
|
||||
top:50px;
|
||||
left:50px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color:rgba(255, 0, 0, 1);
|
||||
background-color:rgba(0, 0, 255, 1);
|
||||
}
|
||||
.greenSquare {
|
||||
position: absolute;
|
||||
|
@ -26,10 +26,10 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you the green is inscribed circle of the red square.</p>
|
||||
<p>The test passes if the green circle is inscribed in the blue square.</p>
|
||||
<div class="container">
|
||||
<!-- This is the square that has a inscribed circle if the test passes -->
|
||||
<div id="red" class="redSquare"></div>
|
||||
<div id="blue" class="blueSquare"></div>
|
||||
<!-- This is the square being tested with the radius-->
|
||||
<div id="green" class="greenSquare"></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue