layout/reftests/backgrounds/background-position-1b.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/backgrounds/background-position-1b.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>background-position: left 75% top 25%</title>
     1.8 +  <style type="text/css">
     1.9 +#outer
    1.10 +{
    1.11 +  border: 1px solid black;
    1.12 +  width: 128px;
    1.13 +  height: 128px;
    1.14 +}
    1.15 +#inner1
    1.16 +{
    1.17 +  width: 128px;
    1.18 +  height: 128px;
    1.19 +  background-position: left 75% top 25%;
    1.20 +  background-image: url(aqua-32x32.png);
    1.21 +  background-repeat: no-repeat;
    1.22 +}
    1.23 +#inner2
    1.24 +{
    1.25 +  width: 128px;
    1.26 +  height: 128px;
    1.27 +  background-position: top 25% left 75%;
    1.28 +  background-image: url(aqua-32x32.png);
    1.29 +  background-repeat: no-repeat;
    1.30 +}
    1.31 +#inner3
    1.32 +{
    1.33 +  width: 128px;
    1.34 +  height: 128px;
    1.35 +  background-position: left 72px top 24px;
    1.36 +  background-image: url(aqua-32x32.png);
    1.37 +  background-repeat: no-repeat;
    1.38 +}
    1.39 +#inner4
    1.40 +{
    1.41 +  width: 128px;
    1.42 +  height: 128px;
    1.43 +  background-position: top 24px left 72px;
    1.44 +  background-image: url(aqua-32x32.png);
    1.45 +  background-repeat: no-repeat;
    1.46 +}
    1.47 +  </style>
    1.48 +</head>
    1.49 +<body>
    1.50 +<div id="outer"><div id="inner1"></div></div>
    1.51 +<div id="outer"><div id="inner2"></div></div>
    1.52 +<div id="outer"><div id="inner3"></div></div>
    1.53 +<div id="outer"><div id="inner4"></div></div>
    1.54 +</body>
    1.55 +</html>

mercurial