Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 57 lines (45 sloc) 1.126 kb
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
<!DOCTYPE html>

<html>
<head>
    <title>Tests that VML boxes are sized exactly as the main element</title>

    <style>

        html { -pie-load-path: "../build"; }

        body {
            /*background:url(border.png);*/
        }

        .test {
            behavior: url(../build/PIE_uncompressed.htc);
            position: relative;
            border-radius: 1em;
            margin: 0 0 2em;
        }
        .control {
            background: #FF0000;
            position: absolute;
        }

        #test1,
        #control1 {
            width: 200px;
            height: 201px;
        }
        #test1 {
            background: green;
            -pie-background: green;
        }

        #test2,
        #control2 {
            width: 200px;
            height: 100px;
        }
        #test2 {
            -pie-background: url(background2.gif);
        }



    </style>
</head>
<body>

    <div id="control1" class="control">test 1</div>
    <div id="test1" class="test">test 1</div>

    <div id="control2" class="control">test 1</div>
    <div id="test2" class="test">test 1</div>
</body>
</html>
Something went wrong with that request. Please try again.