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

Unified Diff: third_party/WebKit/Source/web/tests/WebViewTest.cpp

Issue 2593263003: Use a non-replaced inline container for image alt text (Closed)
Patch Set: bug 644802 Created 3 years, 9 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
Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
index 4bcb8c64a50114a68bafbd7d272210df4ff084e8..5293d69cfc2ea80f4d6222455e177f1389496ccd 100644
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
@@ -346,9 +346,9 @@ TEST_P(WebViewTest, BrokenImage) {
std::string imageUrl = "http://www.test.com/non_existent.png";
- EXPECT_EQ("image", hitTestElementId(webView, 25, 25));
+ EXPECT_EQ("image", hitTestElementId(webView, 12, 12));
EXPECT_TRUE(hitTestUrlElement(webView, 25, 25).isNull());
- EXPECT_EQ(imageUrl, hitTestAbsoluteUrl(webView, 25, 25));
+ EXPECT_EQ(imageUrl, hitTestAbsoluteUrl(webView, 12, 12));
}
TEST_P(WebViewTest, BrokenInputImage) {

Powered by Google App Engine
This is Rietveld 408576698