layout/reftests/w3c-css/submitted/values3/calc-transform-origin-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/submitted/values3/calc-transform-origin-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>CSS Reference: Test for calc() on transform-origin</title>
     1.8 +  <link rel="author" title="L. David Baron" href="https://bugzilla.mozilla.org/show_bug.cgi?id=594934">
     1.9 +  <meta name="flags" content="">
    1.10 +<style type="text/css">
    1.11 +
    1.12 +body { margin: 100px }
    1.13 +
    1.14 +p {
    1.15 +    height: 50px; width: 200px;
    1.16 +    background: yellow;
    1.17 +    transform: rotate(15deg);
    1.18 +}
    1.19 +
    1.20 +#one { transform-origin: 150px 20px; }
    1.21 +#two { transform-origin: -22px -35px; }
    1.22 +
    1.23 +</style>
    1.24 +</head>
    1.25 +<body>
    1.26 +<p id="one">hello</p>
    1.27 +<p id="two">hello</p>
    1.28 +</body>
    1.29 +</html>

mercurial