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> |