| Index: chrome/test/data/chromedriver/multiline.html
|
| diff --git a/chrome/test/data/chromedriver/multiline.html b/chrome/test/data/chromedriver/multiline.html
|
| index f85d3e86b543ed85e6595da83815ca5ff5b493be..13f05bcae31e1895a54dff45a5609b61b416e863 100644
|
| --- a/chrome/test/data/chromedriver/multiline.html
|
| +++ b/chrome/test/data/chromedriver/multiline.html
|
| @@ -5,12 +5,20 @@
|
| <title>A multi-line link</title>
|
| </head>
|
| <body>
|
| - <p style="max-width: 15em">
|
| - mmmmmmmmmmm <a href="#top">mmmmmm mmmmmm</a> mmmmmmmmmmm
|
| - </p>
|
| <p>
|
| This test page contains a link that spans two lines.
|
| The center of the bounding box of the link is not inside the link element.
|
| </p>
|
| + <p style="max-width: 15em">
|
| + <span id="filler"></span>
|
| + <a href="#top">a link</a>
|
| + </p>
|
| + <script>
|
| + var filler = document.getElementById('filler');
|
| + var link = document.getElementsByTagName('a')[0];
|
| + do {
|
| + filler.innerHTML += 'x';
|
| + } while (link.getClientRects().length < 2);
|
| + </script>
|
| </body>
|
| </html>
|
|
|