layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1.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-offsets-relative-left-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <title>CSS Test: Test for left:calc() on relatively positioned elements</title>
     1.8 +  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     1.9 +  <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
    1.10 +  <meta name="flags" content="">
    1.11 +<style type="text/css">
    1.12 +body { margin: 0 100px; width: 100px }
    1.13 +div[style] { background: blue; position: relative; height: 3px; }
    1.14 +</style>
    1.15 +</head>
    1.16 +<body>
    1.17 +
    1.18 +<div style="left: calc(50px)"></div>
    1.19 +<div style="left: calc(-50%)"></div>
    1.20 +<div style="left: calc(25px + 50%)"></div>
    1.21 +<div style="left: calc(-150% / 2 + 30px)"></div>
    1.22 +<div style="left: calc(40px + 10% - 20% / 2)"></div>
    1.23 +<div style="left: calc(10% - 40px)"></div>
    1.24 +</body>
    1.25 +</html>

mercurial