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

Unified Diff: LayoutTests/svg/text/nonconformant-content-crash-1.html

Issue 148343003: Tighten up the allowable-child criteria in RenderSVGInline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/text/nonconformant-content-crash-1-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/text/nonconformant-content-crash-1.html
diff --git a/LayoutTests/svg/text/nonconformant-content-crash-1.html b/LayoutTests/svg/text/nonconformant-content-crash-1.html
new file mode 100644
index 0000000000000000000000000000000000000000..3b9a1c82a0bdd1529eb4358f1c80031a3fe6b9e4
--- /dev/null
+++ b/LayoutTests/svg/text/nonconformant-content-crash-1.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<svg>
+ <text><tspan>PASS</tspan><tspan><a><ellipse/></a></tspan></text>
+</svg>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+window.onload = function() {
+ var e = document.querySelector('ellipse');
+ e.parentNode.insertBefore(document.createElement('span'), e);
+}
+
+window.onload = function() {
+ setTimeout(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 0);
+};
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/text/nonconformant-content-crash-1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698