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

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 test that was disabled on linux and stand alone svg in error mode 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..47c1854c8e6858c52ad5cd3ca80aed822f2b206f 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 {
+ height: 100%;
+ width: 100%;
davve 2014/04/16 14:35:30 I'll drop the trailing semi-colon to follow the su
+}
+
text, foreignObject {
display: block
}

Powered by Google App Engine
This is Rietveld 408576698