summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/replaced/selection-rect.html
blob: 44b3c333c09baef3420be2af20b03e0269bc0789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
<head>
    <style>
        img { margin-left: 50px; width: 100px; height: 100px; background-color: rgb(255,0,0); }
        img::selection { background-color: rgb(0,195,0); }
    </style>
</head>
<body onload="getSelection().setBaseAndExtent(q, 0, q, 1)">
    <div style="padding-top: 50px;">
        <img id="q">
    </div>
</body>
</html>