summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/sub-pixel/float-containing-block-with-margin.html
blob: 7e8646ceaea5a2ea31f87509a3244db61a0397b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
    <head>
        <style>
            ul > li { float: right; background: skyblue; }
            ul > li > a { display: block; margin: 10.5px; text-decoration: none; }
        </style>
        <script>
            if (window.layoutTestController)
                layoutTestController.dumpAsText(true);
        </script>
    </head>
    <body>
        <ul>
            <li><a href="#">Lorem ipsum</a></li>
            <li><a href="#">dolor sit amet</a></li>
            <li><a href="#">consectetur adipiscing elit</a></li>
        </ul>
        Links to the right should not wrap.
    </body>
</html>