summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css-generated-content/spellingToolTip-assert.html
blob: 56cc614828ee506fd214f676af71af7c221b13d7 (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
<html>
<head>
    <title></title>
    <style type="text/css">
    html:before {
        content: "";
        width: 50px;
        height: 50px;
        position: fixed;
        top: 100px;
        border: solid 5px;
    }
    </style>
    <script type="text/javascript">
        if (window.testRunner)
            testRunner.dumpAsText();

        function test()
        {
            if (!window.testRunner)
                return;
            eventSender.mouseMoveTo(30, 30);
            document.body.offsetTop;    // force layout
            eventSender.mouseMoveTo(30, 130);
        }
    </script>
</head>
<body onload="test()">
    <p>
        Regression test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11505">http://bugs.webkit.org/show_bug.cgi?id=11505</a>
        REGRESSION: Null pointer deref in HitTestResult::spellingToolTip() (assertion failure in Node::document)</i>.
    </p>
    <p>
        No assert means test PASS.
    </p>
</body>