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

Unified Diff: LayoutTests/svg/stroke/non-scaling-stroke-paintserver-same-as-fill.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/stroke/non-scaling-stroke-paintserver-same-as-fill.html
diff --git a/LayoutTests/svg/stroke/non-scaling-stroke-paintserver-same-as-fill.html b/LayoutTests/svg/stroke/non-scaling-stroke-paintserver-same-as-fill.html
new file mode 100644
index 0000000000000000000000000000000000000000..99e024abca668f02611ea331dc14509e02c273d8
--- /dev/null
+++ b/LayoutTests/svg/stroke/non-scaling-stroke-paintserver-same-as-fill.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<svg width="200" height="200">
+ <linearGradient id="g" x2="0" y2="1">
+ <stop offset="0" stop-color="red"/>
+ <stop offset="1" stop-color="blue"/>
+ </linearGradient>
+ <pattern id="p" width="0.25" height="0.25" viewBox="0 0 10 10">
+ <rect width="5" height="5"/>
+ <rect x="5" y="5" width="5" height="5"/>
+ </pattern>
+ <g transform="scale(10)">
+ <rect x="2.5" y="2.5" width="4" height="4"
+ fill="url(#g)" stroke="url(#g)"
+ vector-effect="non-scaling-stroke" stroke-width="10"
+ paint-order="stroke fill"/>
+
+ <rect x="10" y="2.5" width="4" height="4"
+ fill="url(#p)" stroke="url(#p)"
+ vector-effect="non-scaling-stroke" stroke-width="10"
+ paint-order="stroke fill"/>
+ </g>
+</svg>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/stroke/non-scaling-stroke-paintserver-same-as-fill-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698