Skip to content
Browse files

Normalizes Object#SVG Size and Alignment

Resolves Normalize.css Issue #96
  • Loading branch information...
1 parent 0357529 commit 27aea5616e11c848832dc6a735af9c35075fa33c @andrewheins andrewheins committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 normalize.css
View
9 normalize.css
@@ -333,6 +333,15 @@ svg:not(:root) {
overflow: hidden;
}
+/*
+ * Normalizes object SVG sizing across all browsers
+ */
+
+object[type="image/svg+xml"], object[data$=".svg"], object[data$=".svgz"] {
+ width: inherit;
+ height: inherit;
+}
+
/* =============================================================================
Figures

0 comments on commit 27aea56

Please sign in to comment.
Something went wrong with that request. Please try again.