Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML> | |
| 2 <template id="template"> | |
| 3 <svg width="100" height="100"> | |
| 4 <symbol id="greenSquare"> | |
| 5 <title>PASS: This text should appear as a tooltip.</title> | |
| 6 <rect width="50" height="50" fill="green"> | |
| 7 <title>FAIL: This text should not appear as a tooltip.</title> | |
| 8 </rect> | |
| 9 </symbol> | |
| 10 <use x="50" y="50" xlink:href="#greenSquare"> | |
| 11 </use> | |
|
fs
2017/03/01 09:29:05
Nit: Can move this to the previous line.
| |
| 12 </svg> | |
| 13 </template> | |
| 14 | |
| 15 <script> | |
| 16 document.body.createShadowRoot().appendChild(template.content.cloneNode(true )); | |
|
fs
2017/03/01 09:29:05
Should test this as a regular <use> (outside of an
| |
| 17 | |
| 18 onload = function() { | |
| 19 if (window.eventSender) { | |
| 20 eventSender.dragMode = false; | |
| 21 eventSender.mouseMoveTo(75, 75); | |
| 22 document.write(testRunner.tooltipText); | |
| 23 if (window.testRunner) | |
| 24 testRunner.dumpAsText(); | |
|
fs
2017/03/01 09:29:05
It should be possible (and preferable) to write th
mrunal
2017/03/02 03:37:43
Done. I have removed this test and added testharne
fs
2017/03/02 08:45:07
ManualTests are manually, so I guess in general th
| |
| 25 } | |
| 26 } | |
| 27 </script> | |
| 28 | |
| 29 FAIL: Test did not run. | |
| OLD | NEW |