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

Unified Diff: LayoutTests/fast/borders/resources/button-border-cropped.svg

Issue 1159773005: Handle border-image with fill and zero-width borders (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comment Created 5 years, 7 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/fast/borders/resources/button-border-cropped.svg
diff --git a/LayoutTests/fast/borders/resources/button-border-cropped.svg b/LayoutTests/fast/borders/resources/button-border-cropped.svg
new file mode 100644
index 0000000000000000000000000000000000000000..28f743deafde82000fc97c21ffd750de3fb357f7
--- /dev/null
+++ b/LayoutTests/fast/borders/resources/button-border-cropped.svg
@@ -0,0 +1,13 @@
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="4" height="48" preserveAspectRatio="none">
+ <defs>
+ <clipPath id="upperClip">
+ <rect width="100%" height="50%"/>
+ </clipPath>
+ <clipPath id="lowerClip">
+ <rect y="50%" width="100%" height="50%"/>
+ </clipPath>
+ </defs>
+ <rect x="0" y="0" width="32" height="48" fill="#808080" shape-rendering="crispEdges"/>
+ <rect x="0" y="2" width="32" height="44" fill="#D0D0D0" shape-rendering="crispEdges" clip-path="url(#upperClip)"/>
+ <rect x="0" y="2" width="32" height="44" fill="#C0C0C0" shape-rendering="crispEdges" clip-path="url(#lowerClip)"/>
+</svg>
« no previous file with comments | « LayoutTests/fast/borders/resources/button-border.svg ('k') | LayoutTests/fast/borders/resources/svg-100x100-intrinsic.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698