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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/html/a-tooltip-null-expected.txt » ('j') | 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> 2 <html>
3 <body onload="test()"> 3 <body onload="test()">
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <a id="target" href="#" title="This should appear as a tooltip">Hello.</a> 5 <span id="target" href="#" title="This should not appear as a tooltip"><span tit le>Hello.</span></span>
6 <script> 6 <script>
7 window.jsTestIsAsync = true; 7 window.jsTestIsAsync = true;
8 8
9 function test() { 9 function test() {
10 if (window.eventSender) { 10 if (window.eventSender) {
11 eventSender.dragMode = false; 11 eventSender.dragMode = false;
12 eventSender.mouseMoveTo(target.offsetLeft, target.offsetTop + target.off setHeight / 2); 12 eventSender.mouseMoveTo(target.offsetLeft, target.offsetTop + target.off setHeight / 2);
13 shouldBe("testRunner.tooltipText", "'This should appear as a tooltip'"); 13 shouldBeEqualToString("testRunner.tooltipText", "");
14 14
15 target.style.display = "none"; 15 target.style.display = "none";
16 finishJSTest(); 16 finishJSTest();
17 } 17 }
18 } 18 }
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« 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