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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/title-in-shadow-tree-without-any-title-in-use.html

Issue 2706583002: Fix the way <title> is read under <use> shadow tree (Closed)
Patch Set: Add layout test 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 unified diff | Download patch
OLDNEW
(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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698