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

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

Issue 26390004: Rework SVG sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mishap during rebase in svg.css Created 6 years, 8 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: Source/core/css/svg.css
diff --git a/Source/core/css/svg.css b/Source/core/css/svg.css
index f860d7baade51651650aab15f3170139dfd39222..6151d17c5d294de7ab2c5aaf098f25279bfc3d07 100644
--- a/Source/core/css/svg.css
+++ b/Source/core/css/svg.css
@@ -47,6 +47,11 @@ svg:not(:root), symbol, image, marker, pattern, foreignObject {
overflow: hidden
}
+svg:root {
eseidel 2014/04/18 16:12:49 I'm surprised we didn't already ahve this. Or may
davve 2014/04/18 17:24:32 WebKit had something similar until https://bugs.we
+ width: 100%;
+ height: 100%
+}
+
text, foreignObject {
display: block
}

Powered by Google App Engine
This is Rietveld 408576698