Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / chromedriver / multiline.html
blob13f05bcae31e1895a54dff45a5609b61b416e863
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>A multi-line link</title>
6 </head>
7 <body>
8 <p>
9 This test page contains a link that spans two lines.
10 The center of the bounding box of the link is not inside the link element.
11 </p>
12 <p style="max-width: 15em">
13 <span id="filler"></span>
14 <a href="#top">a link</a>
15 </p>
16 <script>
17 var filler = document.getElementById('filler');
18 var link = document.getElementsByTagName('a')[0];
19 do {
20 filler.innerHTML += 'x';
21 } while (link.getClientRects().length < 2);
22 </script>
23 </body>
24 </html>