mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -0,0 +1,78 @@
|
|||
<!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.scrolling-container
|
||||
{
|
||||
display: inline-block;
|
||||
height: 250px;
|
||||
margin-right: 30px;
|
||||
overflow: auto;
|
||||
position: static;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
div.vertical-spacer-200
|
||||
{
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
div.sticky
|
||||
{
|
||||
background-color: green;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
div#first-sticky
|
||||
{
|
||||
bottom: 100px;
|
||||
}
|
||||
|
||||
div#second-sticky
|
||||
{
|
||||
bottom: 50px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body onload="document.getElementById("first-scrolling-container").scrollTop = 25; document.getElementById("second-scrolling-container").scrollTop = 100; document.getElementById("third-scrolling-container").scrollTop = 200;">
|
||||
|
||||
<p>Test passes if there are 3 filled green squares and <strong>no red</strong>.
|
||||
|
||||
<div id="first-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="first-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="second-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="second-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="third-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="third-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reference File</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style>
|
||||
html, body, div
|
||||
{
|
||||
background-color: green;
|
||||
color: white;
|
||||
font-size: 40vh;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>PASS</div>
|
|
@ -0,0 +1,74 @@
|
|||
<!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.scrolling-container
|
||||
{
|
||||
height: 150px;
|
||||
margin-bottom: 30px;
|
||||
overflow-y: hidden;
|
||||
position: static;
|
||||
white-space: nowrap;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
div.horizontal-spacer-200
|
||||
{
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
div.sticky
|
||||
{
|
||||
background-color: green;
|
||||
display: inline-block;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
div#first-sticky
|
||||
{
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
div#second-sticky
|
||||
{
|
||||
left: 50px;
|
||||
}
|
||||
|
||||
div#third-sticky
|
||||
{
|
||||
left: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body onload="document.getElementById("first-scrolling-container").scrollLeft = 50; document.getElementById("second-scrolling-container").scrollLeft = 150; document.getElementById("third-scrolling-container").scrollLeft = 300;">
|
||||
|
||||
<p>Test passes if there are 3 filled green squares and <strong>no red</strong>.
|
||||
|
||||
<div id="first-scrolling-container" class="scrolling-container">
|
||||
|
||||
<div class="horizontal-spacer-200"></div><div id="first-sticky" class="sticky"></div><div class="horizontal-spacer-200"></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="second-scrolling-container" class="scrolling-container">
|
||||
|
||||
<div class="horizontal-spacer-200"></div><div id="second-sticky" class="sticky"></div><div class="horizontal-spacer-200"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="third-scrolling-container" class="scrolling-container">
|
||||
|
||||
<div class="horizontal-spacer-200"></div><div id="third-sticky" class="sticky"></div><div class="horizontal-spacer-200"></div>
|
||||
|
||||
</div>
|
|
@ -0,0 +1,68 @@
|
|||
<!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.scrolling-container
|
||||
{
|
||||
height: 150px;
|
||||
margin-bottom: 30px;
|
||||
overflow-y: hidden;
|
||||
position: static;
|
||||
white-space: nowrap;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
div.horizontal-spacer-200
|
||||
{
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
div.sticky
|
||||
{
|
||||
background-color: green;
|
||||
display: inline-block;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
div#first-sticky
|
||||
{
|
||||
right: 100px;
|
||||
}
|
||||
|
||||
div#second-sticky
|
||||
{
|
||||
right: 50px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body onload="document.getElementById("first-scrolling-container").scrollLeft = 25; document.getElementById("second-scrolling-container").scrollLeft = 100; document.getElementById("third-scrolling-container").scrollLeft = 200;">
|
||||
|
||||
<p>Test passes if there are 3 filled green squares and <strong>no red</strong>.
|
||||
|
||||
<div id="first-scrolling-container" class="scrolling-container">
|
||||
|
||||
<div class="horizontal-spacer-200"></div><div id="first-sticky" class="sticky"></div><div class="horizontal-spacer-200"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="second-scrolling-container" class="scrolling-container">
|
||||
|
||||
<div class="horizontal-spacer-200"></div><div id="second-sticky" class="sticky"></div><div class="horizontal-spacer-200"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="third-scrolling-container" class="scrolling-container">
|
||||
|
||||
<div class="horizontal-spacer-200"></div><div id="third-sticky" class="sticky"></div><div class="horizontal-spacer-200"></div>
|
||||
|
||||
</div>
|
|
@ -0,0 +1,83 @@
|
|||
<!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.scrolling-container
|
||||
{
|
||||
display: inline-block;
|
||||
height: 250px;
|
||||
margin-right: 30px;
|
||||
overflow: auto;
|
||||
position: static;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
div.vertical-spacer-200
|
||||
{
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
div.sticky
|
||||
{
|
||||
background-color: green;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
div#first-sticky
|
||||
{
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
div#second-sticky
|
||||
{
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
div#third-sticky
|
||||
{
|
||||
top: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body onload="document.getElementById("first-scrolling-container").scrollTop = 50; document.getElementById("second-scrolling-container").scrollTop = 200; document.getElementById("third-scrolling-container").scrollTop = 300;">
|
||||
|
||||
<p>Test passes if there are 3 filled green squares and <strong>no red</strong>.
|
||||
|
||||
<div id="first-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="first-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="second-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="second-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="third-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="third-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer-200"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
|
@ -0,0 +1,83 @@
|
|||
<!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.scrolling-container
|
||||
{
|
||||
display: inline-block;
|
||||
height: 250px;
|
||||
margin-right: 30px;
|
||||
overflow: auto;
|
||||
position: static;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
div.vertical-spacer
|
||||
{
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
div.sticky
|
||||
{
|
||||
background-color: green;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
div#first-sticky
|
||||
{
|
||||
bottom: 25px;
|
||||
}
|
||||
|
||||
div#second-sticky
|
||||
{
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
div#third-sticky
|
||||
{
|
||||
top: 75px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body onload="document.getElementById("first-scrolling-container").scrollTop = 50; document.getElementById("second-scrolling-container").scrollTop = 150; document.getElementById("third-scrolling-container").scrollTop = 250;">
|
||||
|
||||
<p>Test passes if there are 3 filled green squares and <strong>no red</strong>.
|
||||
|
||||
<div id="first-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="first-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="second-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="second-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="third-scrolling-container" class="scrolling-container"> <!-- 150w x 250h viewport -->
|
||||
|
||||
<div class="vertical-spacer"></div> <!-- 100w x 200h -->
|
||||
|
||||
<div id="third-sticky" class="sticky"></div> <!-- 100w x 100h -->
|
||||
|
||||
<div class="vertical-spacer"></div> <!-- 100w x 200h -->
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue