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

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: Minor touch-ups to the tests; only fail now should be crbug.com/363126 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..fa1f0ff054ec621f18ab909508ebea9b91289954 100644
--- a/Source/core/css/svg.css
+++ b/Source/core/css/svg.css
@@ -47,6 +47,12 @@ svg:not(:root), symbol, image, marker, pattern, foreignObject {
overflow: hidden
}
+svg:root {
+ height: 100%;
+ width: 100%;
+ position: absolute
pdr. 2014/04/15 02:46:10 position: absolute seems odd to me. Can you talk a
davve 2014/04/15 15:55:23 I have this on my list of things to do. Current ra
davve 2014/04/16 14:35:30 Addressed by allowing boxes to resolve percentages
+}
+
text, foreignObject {
display: block
}

Powered by Google App Engine
This is Rietveld 408576698