gecko-dev/layout/reftests/backgrounds/background-position-1f.html

57 строки
1.1 KiB
HTML
Исходник Обычный вид История

Bug 550426 - Add a few reftests for background-position-x/-y. r=dbaron MozReview-Commit-ID: 7SoQqnS46A9 --HG-- rename : layout/reftests/backgrounds/background-position-1a.html => layout/reftests/backgrounds/background-position-1d.html rename : layout/reftests/backgrounds/background-position-1b.html => layout/reftests/backgrounds/background-position-1e.html rename : layout/reftests/backgrounds/background-position-1c.html => layout/reftests/backgrounds/background-position-1f.html rename : layout/reftests/backgrounds/background-position-2a.html => layout/reftests/backgrounds/background-position-2c.html rename : layout/reftests/backgrounds/background-position-2b.html => layout/reftests/backgrounds/background-position-2d.html rename : layout/reftests/backgrounds/background-position-3a.html => layout/reftests/backgrounds/background-position-3c.html rename : layout/reftests/backgrounds/background-position-3b.html => layout/reftests/backgrounds/background-position-3d.html rename : layout/reftests/backgrounds/background-position-4a.html => layout/reftests/backgrounds/background-position-4d.html rename : layout/reftests/backgrounds/background-position-4b.html => layout/reftests/backgrounds/background-position-4e.html rename : layout/reftests/backgrounds/background-position-6.html => layout/reftests/backgrounds/background-position-6a.html rename : layout/reftests/backgrounds/background-position-6.html => layout/reftests/backgrounds/background-position-6b.html extra : rebase_source : d0be4cc560b9e84d399aec0bdf3144367f683338
2016-04-21 06:56:58 +03:00
<!DOCTYPE html>
<html>
<head>
<title>background-position: left 75% bottom 75%</title>
<style type="text/css">
#outer
{
border: 1px solid black;
width: 128px;
height: 128px;
}
#inner1
{
width: 128px;
height: 128px;
background-position-x: left 75%;
background-position-y: bottom 75%;
background-image: url(aqua-32x32.png);
background-repeat: no-repeat;
}
#inner2
{
width: 128px;
height: 128px;
background-position-x: right 25%;
background-position-y: top 25%;
background-image: url(aqua-32x32.png);
background-repeat: no-repeat;
}
#inner3
{
width: 128px;
height: 128px;
background-position-x: left 75%;
background-position-y: bottom 75%;
background-image: url(aqua-32x32.png);
background-repeat: no-repeat;
}
#inner4
{
width: 128px;
height: 128px;
background-position-x: right 25%;
background-position-y: top 25%;
background-image: url(aqua-32x32.png);
background-repeat: no-repeat;
}
</style>
</head>
<body>
<div id="outer"><div id="inner1"></div></div>
<div id="outer"><div id="inner2"></div></div>
<div id="outer"><div id="inner3"></div></div>
<div id="outer"><div id="inner4"></div></div>
</body>
</html>