layout/reftests/backgrounds/background-size-contain-clip-padding-origin-border-padding-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/backgrounds/background-size-contain-clip-padding-origin-border-padding-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>background-size: contain; background-clip: padding-box reference, background-origin: border-box</title>
     1.8 +  <style type="text/css">
     1.9 +#outer
    1.10 +{
    1.11 +  border: 1px solid black;
    1.12 +  width: 64px;
    1.13 +  height: 128px;
    1.14 +}
    1.15 +#inner
    1.16 +{
    1.17 +  border: 20px solid white;
    1.18 +  width: 24px;
    1.19 +  height: 88px;
    1.20 +}
    1.21 +#innermost1
    1.22 +{
    1.23 +  width: 24px;
    1.24 +  height: 44px;
    1.25 +  background-image: url(aqua-32x32.png);
    1.26 +}
    1.27 +#innermost2
    1.28 +{
    1.29 +  width: 24px;
    1.30 +  height: 44px;
    1.31 +  background-color: lime;
    1.32 +}
    1.33 +  </style>
    1.34 +</head>
    1.35 +<body>
    1.36 +<div id="outer"><div
    1.37 +  id="inner"><div
    1.38 +    id="innermost1"></div><div
    1.39 +    id="innermost2"></div
    1.40 +    ></div
    1.41 +  ></div>
    1.42 +</body>
    1.43 +</html>

mercurial