Bug 1275966 - Part 2. Add reftests for background-repeat: space. r=mstange

This commit is contained in:
Ethan Lin 2016-05-28 06:27:00 +02:00
Родитель 3b1413d449
Коммит 4df0a8d12e
5 изменённых файлов: 134 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Background: background-repeat: position background image</title>
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<style type="text/css">
.outer
{
border: 1px solid black;
width: 96px;
height: 106px;
display: flex;
justify-content: space-between;
align-content: space-between;
flex-wrap: wrap;
}
.inner
{
height: 32px;
width: 32px;
background-image: url(aqua-yellow-32x32.png);
}
</style>
</head>
<body>
<div class="outer">
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Background: background-repeat: background image space</title>
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-10-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'space' works correctly or not.">
<style type="text/css">
.outer {
width: 96px;
height: 106px;
border: 1px solid black;
background-image: url(aqua-yellow-32x32.png);
background-repeat: space;
}
</style>
</head>
<body>
<div class="outer"></div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Background: background-repeat: position background image</title>
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<style type="text/css">
.outer
{
border: 1px solid black;
width: 106px;
height: 96px;
display: flex;
justify-content: space-between;
align-content: space-between;
flex-wrap: wrap;
}
.inner
{
height: 32px;
width: 32px;
background-image: url(aqua-yellow-32x32.png);
}
</style>
</head>
<body>
<div class="outer">
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
<div class="inner"></div>
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Background: background-repeat: background image space</title>
<link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-9-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'space' works correctly or not.">
<style type="text/css">
.outer {
width: 106px;
height: 96px;
border: 1px solid black;
background-image: url(aqua-yellow-32x32.png);
background-repeat: space;
}
</style>
</head>
<body>
<div class="outer"></div>
</body>
</html>

Просмотреть файл

@ -9,6 +9,8 @@
== background-repeat-space-6.html background-repeat-space-6-ref.html
== background-repeat-space-7.html background-repeat-space-7-ref.html
== background-repeat-space-8.html background-repeat-space-8-ref.html
== background-repeat-space-9.html background-repeat-space-9-ref.html
== background-repeat-space-10.html background-repeat-space-10-ref.html
== background-repeat-round-1a.html background-repeat-round-1-ref.html
== background-repeat-round-1b.html background-repeat-round-1-ref.html
== background-repeat-round-1c.html background-repeat-round-1-ref.html