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

Unified Diff: Source/core/css/svg.css

Issue 166673006: SVG rendering ignores xml:space="preserve" attribute for text (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add NeedsRebaseline for Win 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/svg.css
diff --git a/Source/core/css/svg.css b/Source/core/css/svg.css
index 3975ab428723f480cc27b8849893be856c97e246..f860d7baade51651650aab15f3170139dfd39222 100644
--- a/Source/core/css/svg.css
+++ b/Source/core/css/svg.css
@@ -51,10 +51,14 @@ text, foreignObject {
display: block
}
-text, tspan, textPath {
+text {
white-space: nowrap
}
+tspan, textPath {
+ white-space: inherit
+}
+
/* states */
:focus {
« no previous file with comments | « LayoutTests/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698