Index: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-clipped-text.html |
diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-clipped-text.html b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-clipped-text.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2c39a4b53680e3a13c57ce32033c5413aac99d8a |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-clipped-text.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/ahem.js"></script> |
+<svg> |
+ <defs> |
+ <clipPath id="textclip"> |
+ <rect width="100" height="100"/> |
+ </clipPath> |
+ <text id="text" y="80" font-size="100" font-family="Ahem" clip-path="url(#textclip)">PASS</text> |
+ <clipPath id="clip"> |
+ <use xlink:href="#text"/> |
+ </clipPath> |
+ </defs> |
+ <rect width="400" height="200" fill="green" clip-path="url(#clip)"/> |
+</svg> |