mirror of
https://github.com/servo/servo.git
synced 2025-08-21 05:15:33 +01:00
Update web-platform-tests to revision 9ca57e052ba1b19fa3dd46c6aa656e8d529469a8
This commit is contained in:
parent
68cb8f3d59
commit
75d6484415
1377 changed files with 31062 additions and 16983 deletions
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Backgrounds and Borders Reference Test: border-width small values</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<div>The test passes if this text has a border</div>
|
|
@ -1,86 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Border Test:border image repeat property with value repeat</title>
|
||||
<link rel="author" title="yanshasha" href="mailto:yanshasha133@gmail.com" />
|
||||
<link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-03 -->
|
||||
<style type="text/css">
|
||||
.box {
|
||||
width: 152px;
|
||||
height: 152px;
|
||||
position: relative;
|
||||
}
|
||||
.red {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
}
|
||||
#red1 {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
#red2 {
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
#red3 {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
#red4 {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.blue {
|
||||
position: absolute;
|
||||
background-image: url(../support/blue-diamond.png);
|
||||
background-repeat: repeat;
|
||||
background-position: center;
|
||||
}
|
||||
#blue1 {
|
||||
top: 0;
|
||||
left: 26px;
|
||||
width: 100px;
|
||||
height: 26px;
|
||||
}
|
||||
#blue2 {
|
||||
top: 26px;
|
||||
right: 0;
|
||||
width: 26px;
|
||||
height: 100px;
|
||||
}
|
||||
#blue3 {
|
||||
bottom: 0;
|
||||
right: 26px;
|
||||
width: 100px;
|
||||
height: 26px;
|
||||
}
|
||||
#blue4 {
|
||||
bottom: 26px;
|
||||
left: 0;
|
||||
width: 26px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
The test passes if the blue diamond is repeating between the red diamonds.
|
||||
</p>
|
||||
<div class="box">
|
||||
<img src="../support/red-diamond.png" alt="left top red diamond" class="red" id="red1"/>
|
||||
<img src="../support/red-diamond.png" alt="right top red diamond" class="red" id="red2" />
|
||||
<img src="../support/red-diamond.png" alt="right bottom red diamond" class="red" id="red3" />
|
||||
<img src="../support/red-diamond.png" alt="left bottom red diamond" class="red" id="red4" />
|
||||
<img src="../support/blue-diamond.png" alt="top blue diamond" class="blue" id="blue1"/>
|
||||
<img src="../support/blue-diamond.png" alt="right blue diamond" class="blue" id="blue2" />
|
||||
<img src="../support/blue-diamond.png" alt="bottom blue diamond" class="blue" id="blue3" />
|
||||
<img src="../support/blue-diamond.png" alt="left blue diamond" class="blue" id="blue4" />
|
||||
<div class="blue" id="blue1"></div>
|
||||
<div class="blue" id="blue2"></div>
|
||||
<div class="blue" id="blue3"></div>
|
||||
<div class="blue" id="blue4"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reference Test</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style>
|
||||
table
|
||||
{
|
||||
border-spacing: 0px;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
td
|
||||
{
|
||||
height: 18px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
td.corner
|
||||
{
|
||||
background-image: url("../support/new-red-diamond-27x27.png");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
td#first-row-second-cell , td#third-row-second-cell , td.second-row
|
||||
{
|
||||
background-image: url("../support/blue-diamond-27x27.png");
|
||||
background-size: contain;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
td.second-row
|
||||
{
|
||||
height: 108px; /* 6 times 18 == 108 */
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if a blue diamond is repeated 8 times horizontally between red diamonds and repeated 6 times vertically between red diamonds. Each of the 4 edges between red diamonds must start and end with a half slice of a blue diamond.
|
||||
|
||||
<table>
|
||||
|
||||
<col width="18"><col width="144"><col width="18">
|
||||
|
||||
<tr><td class="corner"><td id="first-row-second-cell"><td class="corner">
|
||||
|
||||
<tr><td class="second-row"><td><td class="second-row">
|
||||
|
||||
<tr><td class="corner"><td id="third-row-second-cell"><td class="corner">
|
||||
|
||||
</table>
|
||||
|
|
|
@ -1,79 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CSS Border Test:border image repeat property with value stretch</title>
|
||||
<link rel="author" title="yanshasha" href="mailto:yanshasha133@gmail.com" />
|
||||
<link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-03 -->
|
||||
<style type="text/css">
|
||||
div {
|
||||
width: 152px;
|
||||
height: 152px;
|
||||
position: relative;
|
||||
}
|
||||
.red {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
}
|
||||
#red1 {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
#red2 {
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
#red3 {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
#red4 {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.blue {
|
||||
position: absolute;
|
||||
}
|
||||
#blue1 {
|
||||
top: 0;
|
||||
left: 26px;
|
||||
width: 100px;
|
||||
height: 26px;
|
||||
}
|
||||
#blue2 {
|
||||
top: 26px;
|
||||
right: 0;
|
||||
width: 26px;
|
||||
height: 100px;
|
||||
}
|
||||
#blue3 {
|
||||
bottom: 0;
|
||||
right: 26px;
|
||||
width: 100px;
|
||||
height: 26px;
|
||||
}
|
||||
#blue4 {
|
||||
bottom: 26px;
|
||||
left: 0;
|
||||
width: 26px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
The test passes if the blue diamond is stretching between the red diamonds.
|
||||
</p>
|
||||
<div>
|
||||
<img src="../support/red-diamond.png" alt="left top red diamond" class="red" id="red1"/>
|
||||
<img src="../support/red-diamond.png" alt="right top red diamond" class="red" id="red2" />
|
||||
<img src="../support/red-diamond.png" alt="right bottom red diamond" class="red" id="red3" />
|
||||
<img src="../support/red-diamond.png" alt="left bottom red diamond" class="red" id="red4" />
|
||||
<img src="../support/blue-diamond.png" alt="top blue diamond" class="blue" id="blue1"/>
|
||||
<img src="../support/blue-diamond.png" alt="right blue diamond" class="blue" id="blue2" />
|
||||
<img src="../support/blue-diamond.png" alt="bottom blue diamond" class="blue" id="blue3" />
|
||||
<img src="../support/blue-diamond.png" alt="left blue diamond" class="blue" id="blue4" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>CSS Reference Test</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style>
|
||||
table
|
||||
{
|
||||
border-spacing: 0px;
|
||||
table-layout: fixed;
|
||||
width: 154px;
|
||||
}
|
||||
|
||||
td
|
||||
{
|
||||
height: 27px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
td.corner
|
||||
{
|
||||
background-image: url("../support/blue-and-red-diamonds-81x81.png");
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if a blue diamond is stretched between red diamonds.
|
||||
|
||||
<table>
|
||||
|
||||
<col width="27"><col width="100"><col width="27">
|
||||
|
||||
<tr><td class="corner"><td><img src="../support/blue-diamond-27x27.png" width="100" height="27" alt="Image download support must be enabled"><td class="corner">
|
||||
|
||||
<tr><td><img src="../support/blue-diamond-27x27.png" width="27" height="100" alt="Image download support must be enabled"><td><td><img src="../support/blue-diamond-27x27.png" width="27" height="100" alt="Image download support must be enabled">
|
||||
|
||||
<tr><td class="corner"><td><img src="../support/blue-diamond-27x27.png" width="100" height="27" alt="Image download support must be enabled"><td class="corner">
|
||||
|
||||
</table>
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
.atomic { display: inline-block; }
|
||||
</style>
|
||||
<body>
|
||||
<div dir="rtl">
|
||||
<span>
|
||||
<span>Hello<br>World<br></span>
|
||||
<span class="atomic"></span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div dir="rtl">
|
||||
<span dir="ltr">
|
||||
<span>Hello<br>World<br></span>
|
||||
<span class="atomic"></span>
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue