Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: chrome/test/data/chromedriver/multiline.html

Issue 872883002: [chromedriver] Generate as much filler text as needed for testMoveToElementAndClick (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@multiline-mac
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>A multi-line link</title> 5 <title>A multi-line link</title>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p style="max-width: 15em">
9 mmmmmmmmmmm <a href="#top">mmmmmm mmmmmm</a> mmmmmmmmmmm
10 </p>
11 <p> 8 <p>
12 This test page contains a link that spans two lines. 9 This test page contains a link that spans two lines.
13 The center of the bounding box of the link is not inside the link element. 10 The center of the bounding box of the link is not inside the link element.
14 </p> 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>
15 </body> 23 </body>
16 </html> 24 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698