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

Unified Diff: LayoutTests/fast/html/a-tooltip-null.html

Issue 462073003: Handle empty title attribute tooltips. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | LayoutTests/fast/html/a-tooltip-null-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/html/a-tooltip-null.html
diff --git a/LayoutTests/fast/html/a-tooltip.html b/LayoutTests/fast/html/a-tooltip-null.html
similarity index 71%
copy from LayoutTests/fast/html/a-tooltip.html
copy to LayoutTests/fast/html/a-tooltip-null.html
index 5e9549e748a454a81a96ee8798f26cff845e44bc..558ea7d63548d902e328660d46e75efd373fc459 100644
--- a/LayoutTests/fast/html/a-tooltip.html
+++ b/LayoutTests/fast/html/a-tooltip-null.html
@@ -2,7 +2,7 @@
<html>
<body onload="test()">
<script src="../../resources/js-test.js"></script>
-<a id="target" href="#" title="This should appear as a tooltip">Hello.</a>
+<span id="target" href="#" title="This should not appear as a tooltip"><span title>Hello.</span></span>
<script>
window.jsTestIsAsync = true;
@@ -10,7 +10,7 @@ function test() {
if (window.eventSender) {
eventSender.dragMode = false;
eventSender.mouseMoveTo(target.offsetLeft, target.offsetTop + target.offsetHeight / 2);
- shouldBe("testRunner.tooltipText", "'This should appear as a tooltip'");
+ shouldBeEqualToString("testRunner.tooltipText", "");
target.style.display = "none";
finishJSTest();
« no previous file with comments | « no previous file | LayoutTests/fast/html/a-tooltip-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698