Index: third_party/WebKit/LayoutTests/svg/custom/object-sizing-zero-intrinsic-width-height.html |
diff --git a/third_party/WebKit/LayoutTests/svg/custom/object-sizing-zero-intrinsic-width-height.html b/third_party/WebKit/LayoutTests/svg/custom/object-sizing-zero-intrinsic-width-height.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..10dd3ace676525695b21c0f7d5695ac8499f18fa |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/custom/object-sizing-zero-intrinsic-width-height.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+<style> |
+object { |
+ background: red; |
+} |
+</style> |
+<body style="margin: 0px; padding: 0px;"> |
+ <!--There should not be any red rectangle visible. --> |
+ <object data="data:image/svg+xml, |
+ <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='0' height='0'> |
+ <rect width='50' height='50' fill='red'/> |
+ </svg> |
+ "></object> |
+ <object data="data:image/svg+xml, |
davve
2016/01/20 07:54:22
Missing a space?
Shanmuga Pandi
2016/01/28 11:21:57
Done.
|
+ <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='50' height='0'> |
+ <rect width='50' height='50' fill='red'/> |
+ </svg> |
+ "></object> |
+ <object data="data:image/svg+xml, |
+ <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='0' height='50'> |
+ <rect width='50' height='50' fill='red'/> |
+ </svg> |
+ "></object> |
+</body> |
+</html> |