summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/test/doc_layoutHelpers.html
blob: ba31753b098a2c16851c6e70cbdf31aeea3cfaf8 (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
<!doctype html>
<meta charset=utf-8>
<title> Layout Helpers </title>

<style>
  html {
    height: 300%;
    width: 300%;
  }
  div#some {
    position: absolute;
    background: black;
    width: 2px;
    height: 2px;
  }
  div#other {
    position: absolute;
    background: red;
    width: 2px;
    height: 300px;
  }
  iframe {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 0;
  }
</style>

<div id=some></div>
<div id="other"></div>