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

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

Issue 145493012: <br> nodes should not be allowed within SVG text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload ps#3. Created 6 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/svg/text/nonconformant-content-crash-3-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
(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
« no previous file with comments | « no previous file | LayoutTests/svg/text/nonconformant-content-crash-3-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698