aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/calc-offsets-relative-left-1-ref.xht
blob: 35b39a3ea2e4cb22874e4a353aec3cf10fcced08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
  <title>CSS Reference: Test for left:calc() on relatively positioned elements</title>
  <link href="https://dbaron.org/" rel="author" title="L. David Baron" />
  <meta content="" name="flags" />
<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>