mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Reference File</title>
|
||||
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
width: 3ch;
|
||||
height: 100px;
|
||||
font: 40px/1 Ahem;
|
||||
border: 1px solid black;
|
||||
box-sizing: content-box;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.left { text-align: left; }
|
||||
.center { text-align: center; }
|
||||
.right { text-align: right; }
|
||||
.start { text-align: start; }
|
||||
.end { text-align: end; }
|
||||
</style>
|
||||
<div class="left">XXX X</div>
|
||||
<div class="center">XXX X</div>
|
||||
<div class="right">XXX X</div>
|
||||
<div class="start">XXX X</div>
|
||||
<div class="end">XXX X</div>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Reference File</title>
|
||||
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
width: 3ch;
|
||||
height: 100px;
|
||||
font: 40px/1 Ahem;
|
||||
border: 1px solid black;
|
||||
box-sizing: content-box;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.left { text-align: left; }
|
||||
.center { text-align: center; }
|
||||
.right { text-align: right; }
|
||||
.start { text-align: start; }
|
||||
.end { text-align: end; }
|
||||
</style>
|
||||
<div class="left">XXXX X</div>
|
||||
<div class="center">XXXX X</div>
|
||||
<div class="right">XXXX X</div>
|
||||
<div class="start">XXXX X</div>
|
||||
<div class="end">XXXX X</div>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Reference File</title>
|
||||
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
width: 3ch;
|
||||
height: 100px;
|
||||
font: 40px/1 Ahem;
|
||||
border: 1px solid black;
|
||||
box-sizing: content-box;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
|
||||
direction: rtl;
|
||||
}
|
||||
.left { text-align: left; }
|
||||
.center { text-align: center; }
|
||||
.right { text-align: right; }
|
||||
.start { text-align: start; }
|
||||
.end { text-align: end; }
|
||||
</style>
|
||||
<div class="left">XXX X</div>
|
||||
<div class="center">XXX X</div>
|
||||
<div class="right">XXX X</div>
|
||||
<div class="start">XXX X</div>
|
||||
<div class="end">XXX X</div>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Reference File</title>
|
||||
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
width: 3ch;
|
||||
height: 100px;
|
||||
font: 40px/1 Ahem;
|
||||
border: 1px solid black;
|
||||
box-sizing: content-box;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
|
||||
direction: rtl;
|
||||
}
|
||||
.left { text-align: left; }
|
||||
.center { text-align: center; }
|
||||
.right { text-align: right; }
|
||||
.start { text-align: start; }
|
||||
.end { text-align: end; }
|
||||
</style>
|
||||
<div class="left">XXXX X</div>
|
||||
<div class="center">XXXX X</div>
|
||||
<div class="right">XXXX X</div>
|
||||
<div class="start">XXXX X</div>
|
||||
<div class="end">XXXX X</div>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Reference File</title>
|
||||
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div {
|
||||
display: inline-block;
|
||||
width: 3ch;
|
||||
height: 100px;
|
||||
font: 40px/1 Ahem;
|
||||
border: 1px solid black;
|
||||
box-sizing: content-box;
|
||||
overflow-y: hidden;
|
||||
overflow-x: auto;
|
||||
|
||||
direction: rtl;
|
||||
}
|
||||
.left { text-align: left; }
|
||||
.center { text-align: center; }
|
||||
.right { text-align: right; }
|
||||
.start { text-align: start; }
|
||||
.end { text-align: end; }
|
||||
</style>
|
||||
<div class="left"> XXX X</div>
|
||||
<div class="center"> XXX X</div>
|
||||
<div class="right"> XXX X</div>
|
||||
<div class="start"> XXX X</div>
|
||||
<div class="end"> XXX X</div>
|
|
@ -0,0 +1,139 @@
|
|||
<!DOCTYPE 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>
|
||||
section
|
||||
{
|
||||
border: black solid 2px;
|
||||
float: left;
|
||||
font-family: monospace;
|
||||
font-size: 14px;
|
||||
line-height: 1; /* computes to 14px */
|
||||
margin-bottom: 10px;
|
||||
width: 16ch;
|
||||
}
|
||||
|
||||
section.odds
|
||||
{
|
||||
clear: both;
|
||||
}
|
||||
|
||||
section.even
|
||||
{
|
||||
margin-left: 10em;
|
||||
}
|
||||
|
||||
div.first-subtest
|
||||
{
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
div.second-subtest
|
||||
{
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
div.third-subtest
|
||||
{
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
div.fourth-subtest
|
||||
{
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
div.fifth-subtest
|
||||
{
|
||||
white-space: break-spaces;
|
||||
}
|
||||
|
||||
div.sixth-subtest
|
||||
{
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
hr
|
||||
{
|
||||
clear: both;
|
||||
margin: 4em auto 1.5em 0em;
|
||||
width: 480px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the characters inside of each black bordered rectangles on the lefthand side are laid out identically to their counterparts on the righthand side.
|
||||
|
||||
<section class="odds">
|
||||
<div class="first-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<section class="even">
|
||||
<div class="first-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<section class="odds">
|
||||
<div class="second-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<section class="even">
|
||||
<div class="second-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<section class="odds">
|
||||
<div class="third-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<section class="even">
|
||||
<div class="third-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<section class="odds">
|
||||
<div class="fourth-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<section class="even">
|
||||
<div class="fourth-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<section class="odds">
|
||||
<div class="fifth-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<section class="even">
|
||||
<div class="fifth-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<section class="odds">
|
||||
<div class="sixth-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
||||
|
||||
<section class="even">
|
||||
<div class="sixth-subtest">Lorem ipsum. Dolor

|
||||
sit.</div>
|
||||
</section>
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE 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>
|
||||
div
|
||||
{
|
||||
border: black solid 2px;
|
||||
font-family: monospace;
|
||||
font-size: 32px;
|
||||
line-height: 1.25; /* computes to 40px */
|
||||
margin-bottom: 0.25em;
|
||||
width: 16ch;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
span
|
||||
{
|
||||
background-color: yellow;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Test passes if the characters inside each black-bordered rectangle are laid out identically and if each black-bordered rectangle does not generate a horizontal scrollbar.
|
||||
|
||||
<div>Lorem ipsum.<span> </span><br>
|
||||
Dolor<br>
|
||||
sit amet. <br>
|
||||
consectetur</div>
|
||||
|
||||
<div>Lorem ipsum.<span> </span><br>
|
||||
Dolor<br>
|
||||
sit amet. <br>
|
||||
consectetur</div>
|
Loading…
Add table
Add a link
Reference in a new issue