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

Unified Diff: third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-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-text.html
diff --git a/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-text.html b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..0c6e4054356f4757bc740eb511636ecf4d94519a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/clip-path/clip-path-use-referencing-text.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../../resources/ahem.js"></script>
+<svg>
+ <defs>
+ <text id="text" y="80" font-size="100" font-family="Ahem">X</text>
+ <clipPath id="clip">
+ <use xlink:href="#text"/>
+ </clipPath>
+ </defs>
+ <rect width="200" height="100" fill="green" clip-path="url(#clip)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698