layout/reftests/border-image/border-image-outset-move-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/border-image/border-image-outset-move-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait" lang="en-US">
     1.6 +<head>
     1.7 +  <title>-moz-border-outset move</title>
     1.8 +  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     1.9 +  <meta http-equiv="Content-Style-Type" content="text/css">
    1.10 +  <style type="text/css">
    1.11 +  div {
    1.12 +    margin: 20px;
    1.13 +    border-width: 10px;
    1.14 +    border-style: solid;
    1.15 +    border-image: url('3x3green-1DD813.png') 1 1 1 1;
    1.16 +    border-image-outset: 10px;
    1.17 +  }
    1.18 +  </style>
    1.19 +</head>
    1.20 +<body>
    1.21 +<div id="container" style="width: 80px; margin-left: 60px;">
    1.22 +Hello World!
    1.23 +</div>
    1.24 +<script type="text/javascript">
    1.25 +// The purpose of this test is to move the border and ensure that the
    1.26 +// overflow area caused by border-image-outset is redrawn.
    1.27 +setTimeout(function() {
    1.28 +    document.getElementById("container").style.marginLeft = "20px";
    1.29 +    document.documentElement.className = "";
    1.30 +  }, 100);
    1.31 +</script>
    1.32 +</body>
    1.33 +</html>

mercurial