summaryrefslogtreecommitdiffstats
path: root/testing/marionette/harness/marionette_harness/www/rectangles.html
blob: 59871c6de6a8957305663a08adc8678ae36b5dc3 (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
33
34
35
36
37
38
39
40
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Rectangles</title>
    <style type="text/css">
        div {
            position: absolute;
            margin: 0;
            border: 0;
            padding: 0;
        }
        #r1 {
            background-color: blue;
            left: 10px;
            top: 10px;
            width: 100px;
            height: 50px;
        }
        #r2 {
            background-color: red;
            left: 11px;
            top: 10px;
            width: 48.666666667px;
            height: 49.333333333px;
        }
        #r3 {
            background-color: yellow;
            left: 60px;
            top: 10px;
            width: 50px;
            height: 25px;
        }
    </style>
</head>
    <body>
        <div id="r1">r1</div>
        <div id="r2">r2</div>
        <div id="r3">r3</div>
    </body>
</html>