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

Unified Diff: chrome/test/data/chromedriver/multiline.html

Issue 817913004: [chromedriver] Make GetElementLocationInView return the top-left coordinate rather than the center (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment to ScrollElementIntoView() 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/element_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/chromedriver/multiline.html
diff --git a/chrome/test/data/chromedriver/multiline.html b/chrome/test/data/chromedriver/multiline.html
index c7bf5ffab1f27e9bdb9afe4a2ab386486ceea814..5de2bfd2e574e479e9d02323b3f9087650249e51 100644
--- a/chrome/test/data/chromedriver/multiline.html
+++ b/chrome/test/data/chromedriver/multiline.html
@@ -5,8 +5,11 @@
<title>A multi-line link</title>
</head>
<body>
- <p style="max-width: 11em">
- This test page contains <a href="#top">a link</a> that spans two lines.
+ <p style="max-width: 15em">
+ mmmmmmmmmm <a href="#top">mmmmm mmmmm</a> mmmmmmmmmm
+ </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>
</body>
« no previous file with comments | « chrome/test/chromedriver/element_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698