Index: LayoutTests/css3/clippath/clippath-reference-delete-crash.html |
diff --git a/LayoutTests/css3/clippath/clippath-reference-delete-crash.html b/LayoutTests/css3/clippath/clippath-reference-delete-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..49f844ec0f1c3c149ffe2f4fd383d07ae8628980 |
--- /dev/null |
+++ b/LayoutTests/css3/clippath/clippath-reference-delete-crash.html |
@@ -0,0 +1,35 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="../../resources/js-test.js"></script> |
+<style> |
+.error { |
+ width: 100px; |
+ height: 100px; |
+ background-color: red; |
+ position: absolute; |
+} |
+.clipped { |
+ width: 100px; |
+ height: 100px; |
+ background-color: green; |
+ -webkit-clip-path: url(#svgPath); |
+ clip-path: url(#svgPath); |
+} |
+</style> |
+</head> |
+<body> |
+<div class="error"></div> |
+<div class="clipped" id="html"></div> |
+<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1" id="svg"> |
+ <defs> |
+ <clipPath id="svgPath" clipPathUnits="objectBoundingBox"> |
+ <circle cx="0.5" cy="0.5" r="0.5"> |
+ <animate attributeName="r" attributeType="XML" from="0.25" to="1" begin="0s" dur="0.5s" fill="freeze"/> |
+ </circle> |
+ </clipPath> |
+ </defs> |
+</svg> |
+<script src="script-tests/clippath-reference-delete-crash.js"></script> |
+</body> |
+</html> |