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

Unified Diff: LayoutTests/svg/text/obb-paintserver.html

Issue 230443003: Fix application of OBB paint-servers when device scale != 1 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 8 months 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: LayoutTests/svg/text/obb-paintserver.html
diff --git a/LayoutTests/svg/text/obb-paintserver.html b/LayoutTests/svg/text/obb-paintserver.html
new file mode 100644
index 0000000000000000000000000000000000000000..cf8ba7f678a717a2c4f6ac15a311ec131eb542e0
--- /dev/null
+++ b/LayoutTests/svg/text/obb-paintserver.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<svg width="200" height="400">
+ <linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
+ <stop offset="0" stop-color="green"/>
+ <stop offset="0.99" stop-color="green"/>
+ <stop offset="1" stop-color="red"/>
+ </linearGradient>
+ <pattern id="pattern" x="0" y="0" width="1" height="1" viewBox="0 0 10 10">
+ <rect width="10" height="10" fill="lime"/>
+ <rect width="5" height="5" fill="green"/>
+ <rect x="5" y="5" width="5" height="5" fill="green"/>
+ </pattern>
+ <rect width="100%" height="100%" fill="gray"/>
+ <g font-size="100px" font-family="Ahem">
+ <g fill="url(#pattern)">
+ <text y="280">P</text>
+ <text y="380" text-decoration="underline">P</text>
+ </g>
+ <g fill="url(#gradient)">
+ <text x="100" y="280">G</text>
+ <text x="100" y="380" text-decoration="underline">G</text>
+ </g>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698