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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html

Issue 1169613002: Remove unnecessary testRunner.dumpAsText in LayoutTests/fast/dom/shadow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="sandbox"></div> 9 <div id="sandbox"></div>
10 <pre id="console"></pre> 10 <pre id="console"></pre>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 shouldBe("eventRecords['parent']['offsetY']", "5"); 59 shouldBe("eventRecords['parent']['offsetY']", "5");
60 shouldBe("eventRecords['shadow-host']['offsetY']", "5 + 20"); 60 shouldBe("eventRecords['shadow-host']['offsetY']", "5 + 20");
61 shouldBe("eventRecords['top']['offsetY']", "5 + 20"); 61 shouldBe("eventRecords['top']['offsetY']", "5 + 20");
62 62
63 shouldBe("eventRecords['parent']['offsetX']", "80 / 2"); 63 shouldBe("eventRecords['parent']['offsetX']", "80 / 2");
64 shouldBe("eventRecords['shadow-host']['offsetX']", "80 / 2 + 100"); 64 shouldBe("eventRecords['shadow-host']['offsetX']", "80 / 2 + 100");
65 shouldBe("eventRecords['top']['offsetX']", "80 / 2 + 100"); 65 shouldBe("eventRecords['top']['offsetX']", "80 / 2 + 100");
66 } 66 }
67 67
68 function test() 68 testMouseEventOffset();
69 {
70 if (window.testRunner)
71 testRunner.dumpAsText();
72
73 testMouseEventOffset();
74 }
75
76 test();
77 </script> 69 </script>
78 </body> 70 </body>
79 </html> 71 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadow-contents-event.html ('k') | LayoutTests/fast/dom/shadow/shadow-root-activeElement.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698