summaryrefslogtreecommitdiff
path: root/tests/manual/hints/label-positioning.html
blob: 6c54a29be7ebb11db2f7da1e45d4612318220c18 (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
<!DOCTYPE html>
<html>
<head>
    <style type="text/css">
    body {
        position: absolute;
        left: 50%;
        width: 500px;
        margin-left: -250px;
    }
    </style>
    <title>Hint Label positioning with negative margins</title>
</head>
<body>
    <p>
        When using hints (f) on this page, the hint should be placed on
        the upper left corner of the links.<br/>
        <a href="#one">one</a><br/>
        <a href="#two">two</a>
    </p>
    <p>
        To test the hints within iFrame
        <code>allow-universal-access-from-file-urls</code> must be enabled.
        And the page reloaded.
        <iframe src="./wrapped.html" style="margin: 5px 50px; width: 400px; heigth: 200px;"></iframe>
    </p>
</body>
</html>