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

Side by Side Diff: LayoutTests/svg/text/nonconformant-content-crash-3.html

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 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
(Empty)
1 <!doctype html>
2 <svg height="300">
3 <text y="10">
4 <tspan></tspan>
5 <textPath></textPath>
6 <altGlyph>Bar</altGlyph>
7 </text>
8 </svg>
9 <script>
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
13 }
14 function insertBR(parent) {
15 parent.appendChild(document.createTextNode('foo'));
16 parent.appendChild(document.createElement('br'));
17 parent.appendChild(document.createTextNode('bar'));
18 }
19 window.onload = function() {
20 var t = document.querySelector('text');
21 for (var child = t.firstChild; child; child = child.nextSibling) {
22 if (child instanceof Text)
23 continue;
24 insertBR(child);
25 }
26 insertBR(t);
27 setTimeout(function() {
28 if (window.testRunner)
29 testRunner.notifyDone();
30 }, 0);
31 };
32 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698