summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html
blob: 82ab51df06b0a8b3742c51ae9f36a05fd72672b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html>
<head>
  <title>CSS Reference: Test for left:calc() on relatively positioned elements</title>
  <link rel="author" title="L. David Baron" href="https://dbaron.org/">
  <meta name="flags" content="">
<style type="text/css">
body { margin: 0 100px; width: 100px }
div[style] { background: blue; position: relative; height: 3px; }
</style>
</head>
<body>

<div style="left: 50px"></div>
<div style="left: -50px"></div>
<div style="left: 75px"></div>
<div style="left: -45px"></div>
<div style="left: 40px"></div>
<div style="left: -30px"></div>
</body>
</html>