summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/helper_bug1733509.html
blob: 4fbdacdb46d2813483c03167371480b5ac9f960d (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
<html>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script src="/tests/SimpleTest/paint_listener.js"></script>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="/tests/gfx/layers/apz/test/mochitest/apz_test_utils.js"></script>
<style>
    body {
        margin: 0;
        padding: 20;
        background-color: blueviolet;
    }

    button {
        margin: 0;
    }
</style>

<body>
    <button id="btn">Click me</button>
</body>

<script>
    // Silence SimpleTest warning about missing assertions by having it wait
    // indefinitely. We don't need to give it an explicit finish because the
    // entire window this test runs in will be closed after the main browser test
    // finished.
    SimpleTest.waitForExplicitFinish();
</script>

</html>