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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/svg-intrinsic-size-with-cssstyle-auto.html

Issue 2230963002: SVG Image intrinsic size should be used if css style size is 'auto' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SVG intrinsic size should be used if css style size is 'auto' Created 4 years, 4 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: third_party/WebKit/LayoutTests/svg/custom/svg-intrinsic-size-with-cssstyle-auto.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/svg-intrinsic-size-with-cssstyle-auto.html b/third_party/WebKit/LayoutTests/svg/custom/svg-intrinsic-size-with-cssstyle-auto.html
new file mode 100644
index 0000000000000000000000000000000000000000..5f6e46fcfc1615e82dc869900f144fedbb03b25a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/custom/svg-intrinsic-size-with-cssstyle-auto.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<style>
+ image {width: auto}
+ rect {height: auto}
+ foreignObject {width: auto}
rwlbuis 2016/08/10 15:25:24 Please add some spacing above: foreignObject { wid
+</style>
+<svg width="500" height="500">
+ <image width="100" height="100"
+ xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='200' style='background-color: green'></svg>"/>
+ <foreignObject x="105" width="100" height="100" style="background: green">
+ </foreignObject>
rwlbuis 2016/08/10 15:25:24 Better to just make foreignObject closed: <foreign
+ <rect y="105" width="100" height="100" fill="green"> </rect>
rwlbuis 2016/08/10 15:25:25 Ditto.
Shanmuga Pandi 2016/08/11 05:54:19 Done.
+</svg>

Powered by Google App Engine
This is Rietveld 408576698