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

Unified Diff: LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html

Issue 755613002: Fix assertion: !visualMetricsValues.isEmpty() in layoutTextOnLineOrPath (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/tspan-pre-wrap-whitespace-crash.html
diff --git a/LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html b/LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..cf87212fe928debf142429a30efde9ec2511adca
--- /dev/null
+++ b/LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<svg xmlns="http://www.w3.org/2000/svg">
+<text>
+<tspan style="white-space:pre-wrap";> </tspan>
kouhei (in TOK) 2014/12/09 09:15:22 ; should be before "
fs 2014/12/09 10:18:32 Or just drop it entirely.
+</text>
+</svg>
+<p>This test passes if it doesn't crash</p>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash-expected.txt » ('j') | Source/core/dom/Text.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698