layout/reftests/image-element/element-paint-paintserversize-rounding-02.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/image-element/element-paint-paintserversize-rounding-02.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/licenses/publicdomain/
     1.7 +-->
     1.8 +<!DOCTYPE html>
     1.9 +<html>
    1.10 +<head>
    1.11 +<style>
    1.12 +body > div {
    1.13 +  width: 200px;
    1.14 +  height: 200px;
    1.15 +  float: left;
    1.16 +  background-repeat: repeat;
    1.17 +}
    1.18 +
    1.19 +div > div {
    1.20 +  background: lime;
    1.21 +}
    1.22 +
    1.23 +</style>
    1.24 +</head>
    1.25 +<body style="margin:0">
    1.26 +<div style="background-image: -moz-element(#eInteger)"></div>
    1.27 +<div style="background-image: -moz-element(#eRoundUp1)"></div>
    1.28 +<div style="background-image: -moz-element(#eRoundUp2); background-size: 100.3px;"></div>
    1.29 +<div style="background-image: -moz-element(#eRoundDown1)"></div>
    1.30 +<div style="background-image: -moz-element(#eRoundDown2); background-size: 99.6px;"></div>
    1.31 +
    1.32 +<div style="overflow:hidden; height:0">
    1.33 +  <div id="eInteger" style="margin: 0.3px; width: 100px; height: 100px;"></div>
    1.34 +  <div id="eRoundUp1" style="margin: 0.3px; width: 99.6px; height: 99.6px;"></div>
    1.35 +  <div id="eRoundUp2" style="margin: 0.6px; width: 99.6px; height: 99.6px;"></div>
    1.36 +  <div id="eRoundDown1" style="margin: 0.3px; width: 100.3px; height: 100.3px;"></div>
    1.37 +  <div id="eRoundDown2" style="margin: 0.6px; width: 100.3px; height: 100.3px;"></div>
    1.38 +</div>
    1.39 +</body>
    1.40 +</html>

mercurial