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

Unified Diff: LayoutTests/svg/text/white-space-pre-wrap-whitespace-only-crash.html

Issue 1166653005: Don't create layout objects for pre-wrap text nodes in SVG (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/white-space-pre-wrap-whitespace-only-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/text/white-space-pre-wrap-whitespace-only-crash.html
diff --git a/LayoutTests/svg/text/white-space-pre-wrap-whitespace-only-crash.html b/LayoutTests/svg/text/white-space-pre-wrap-whitespace-only-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..400083b4d46b7d7dd6a0a43300adc0761bde60be
--- /dev/null
+++ b/LayoutTests/svg/text/white-space-pre-wrap-whitespace-only-crash.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<p>PASS if no crash.</p>
+<svg>
+ <text style='white-space: normal'> </text>
+ <text style='white-space: nowrap'> </text>
+ <text style='white-space: pre'> </text>
+ <text style='white-space: pre-wrap'> </text>
+ <text style='white-space: pre-line'> </text>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/text/white-space-pre-wrap-whitespace-only-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698