mirror of
https://github.com/servo/servo.git
synced 2025-09-17 10:28:22 +01:00
Update web-platform-tests to revision 10168e9a5d44efbc6e7d416d1d454eb9c9f1396c
This commit is contained in:
parent
c88dc51d03
commit
0e1caebaf4
791 changed files with 23381 additions and 5501 deletions
|
@ -9,6 +9,8 @@
|
|||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
body {margin-bottom: 0px;}
|
||||
|
||||
div {height: 10em;}
|
||||
|
@ -23,4 +25,4 @@
|
|||
<div>PASS</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
<meta name="assert" content="The 'clear' property does not apply to elements with a display of 'inline'." />
|
||||
<style type="text/css">
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
.float { float: left; height: 10em; }
|
||||
.clear { clear: left; }
|
||||
</style>
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
<p>Test passes if there is a filled blue square to the right of this text.</p>
|
||||
|
||||
<div>
|
||||
<span class="block-descendant">a</span>
|
||||
<span class="block-descendant">b</span>
|
||||
<span class="block-descendant"> a</span>
|
||||
<span class="block-descendant"> b</span>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -10,17 +10,15 @@
|
|||
|
||||
<style type="text/css"><![CDATA[
|
||||
div {text-align: right;}
|
||||
|
||||
span {background-color: blue;}
|
||||
]]></style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if there is a short blue stripe on the right side of the page.</p>
|
||||
<p>Test passes if Filler Text can be seen on the right side of the page.</p>
|
||||
|
||||
<div><span>Filler Text</span></div>
|
||||
<div>Filler Text</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,26 +1,25 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>CSS Test: Float applied to element with 'display' set to inline</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-float" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" />
|
||||
<link rel="match" href="float-applies-to-008-ref.xht" />
|
||||
<head>
|
||||
<title>CSS Test: Float applied to element with 'display' set to inline</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-float" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" />
|
||||
<link rel="match" href="float-applies-to-008-ref.xht" />
|
||||
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'float' property applies to elements with a display of inline." />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
background: blue;
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a short blue stripe on the right side of the page.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'float' property applies to elements with a display of inline." />
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if Filler Text can be seen on the right side of the page.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,41 +1,41 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>CSS Test: Float applied to element with 'display' set to inline-block</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-float" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" />
|
||||
<link rel="match" href="../reference/float-applies-to-001-ref.xht" />
|
||||
<head>
|
||||
<title>CSS Test: Float applied to element with 'display' set to inline-block</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 -->
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-float" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" />
|
||||
<link rel="match" href="../reference/float-applies-to-001-ref.xht" />
|
||||
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'float' property applies to elements with a display of inline-block." />
|
||||
<style type="text/css">
|
||||
span#inline-block
|
||||
{
|
||||
background: blue;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
height: 1in;
|
||||
width: 1in;
|
||||
}
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The 'float' property applies to elements with a display of inline-block." />
|
||||
<style type="text/css">
|
||||
span#inline-block
|
||||
{
|
||||
background: blue;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
height: 1in;
|
||||
width: 1in;
|
||||
}
|
||||
|
||||
span.block-descendant
|
||||
{
|
||||
color: blue;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a filled blue square on the right side of the page.</p>
|
||||
span.block-descendant
|
||||
{
|
||||
color: blue;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a filled blue square on the right side of the page.</p>
|
||||
|
||||
<div>
|
||||
<span id="inline-block">
|
||||
<span class="block-descendant">a</span>
|
||||
<span class="block-descendant">b</span>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<span id="inline-block">
|
||||
<span class="block-descendant"> a</span>
|
||||
<span class="block-descendant"> b</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -8,22 +8,20 @@
|
|||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
div#wrapper
|
||||
{
|
||||
border: black solid 5px;
|
||||
bottom: 17px;
|
||||
height: 192px;
|
||||
left: 24px;
|
||||
position: relative;
|
||||
width: 192px;
|
||||
}
|
||||
div#wrapper {
|
||||
border: solid 5px black;
|
||||
height: 2in;
|
||||
margin: 0.25in;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
width: 2in;
|
||||
}
|
||||
|
||||
div > div
|
||||
{
|
||||
background-color: blue;
|
||||
height: 120px;
|
||||
width: 120px;
|
||||
}
|
||||
div > div {
|
||||
background-color: blue;
|
||||
height: 120px;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
]]></style>
|
||||
|
||||
|
@ -38,4 +36,4 @@
|
|||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -33,4 +33,4 @@
|
|||
<span>Filler Text</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
<style>
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
|
@ -16,4 +20,4 @@
|
|||
<div>Filler TextFiller Text</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A floated elements top edge will be aligned with the top of a line box." />
|
||||
<style type="text/css">
|
||||
/* Disable kerning because kerning may differ for different node tree. */
|
||||
html { font-kerning: none; font-feature-settings: "kern" off; }
|
||||
div
|
||||
{
|
||||
width: 5in;
|
||||
|
@ -26,4 +28,4 @@
|
|||
<span id="span1">Filler Text</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue