summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/dynamic-offset-rtl-001-ref.html
blob: 4f7275901187d031aad88ca881a3687a11eec93f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE HTML>
<head>
<meta charset="UTF-8">
<title>CSS Test Reference: dynamic changes to offset properties</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<style>

body {
  margin: 0;
}

#container {
  position: absolute;
  width: 100px;
  height: 100px;
  background: yellow;
}

#abspos {
  margin-top: 10px;
  margin-left: 70px;
  width: 10px;
  height: 10px;
  background: fuchsia;
}

</style>

<div id="container">
  <div id="abspos"></div>
</div>