Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-clipped-text.html

Issue 2560773002: Don't allow <use> <text> references in clip-path fast-path (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698