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

Unified Diff: LayoutTests/svg/text/nonconformant-content-crash-2.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
Index: LayoutTests/svg/text/nonconformant-content-crash-2.html
diff --git a/LayoutTests/svg/text/nonconformant-content-crash-2.html b/LayoutTests/svg/text/nonconformant-content-crash-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..bd7e6c77ba4dcd3c9f699b3f228c3f3d074cfd4d
--- /dev/null
+++ b/LayoutTests/svg/text/nonconformant-content-crash-2.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <text><tspan><tspan>PASS</tspan></tspan><a></a></text>
+</svg>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+var e = document.querySelector('a');
+e.appendChild(document.createElement('rb'));
+
+window.onload = function() {
+ setTimeout(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 0);
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698