Index: LayoutTests/svg/as-image/zero-size-buffered-image-nopaint.html |
diff --git a/LayoutTests/svg/as-image/zero-size-buffered-image-nopaint.html b/LayoutTests/svg/as-image/zero-size-buffered-image-nopaint.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e05d60bc57eb35f5b241cb63263536d7325e751b |
--- /dev/null |
+++ b/LayoutTests/svg/as-image/zero-size-buffered-image-nopaint.html |
@@ -0,0 +1,6 @@ |
+<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"> |
+ <!-- This content should not assert or crash in Debug or Asan builds. --> |
+ <!-- It renders to an empty image due to the zero width. --> |
+ <image transform="skewX(30)" x="0" y="240" width="0" height="100" buffered-rendering="static" xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><rect x='10%' y='10%' width='80%' height='80%' fill='red' /></svg>"/> |
+ </image> |
+</svg> |