Index: LayoutTests/svg/custom/non-scaling-stroke-on-empty-shapes.html |
diff --git a/LayoutTests/svg/custom/non-scaling-stroke-on-empty-shapes.html b/LayoutTests/svg/custom/non-scaling-stroke-on-empty-shapes.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c2e14921a69ae5266b7be341cd9363b6c33a0dc0 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/non-scaling-stroke-on-empty-shapes.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<style> |
+rect, circle, ellipse { |
+ vector-effect: non-scaling-stroke; |
+ stroke: red; |
+ fill: red; |
+} |
+</style> |
+<svg width="100" height="200" style="background-color: lime"> |
+ <!-- Neither of these should render. --> |
+ <rect x="10" y="20" width="0" height="10"/> |
+ <rect x="10" y="40" rx="1" width="0" height="10"/> |
+ <rect x="10" y="60" ry="1" width="0" height="10"/> |
+ <circle cx="10" cy="80" r="0"/> |
+ <ellipse cx="10" cy="100" rx="0" ry="5"/> |
+ <ellipse cx="10" cy="120" rx="5" ry="0"/> |
+</svg> |