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

Unified Diff: LayoutTests/fast/borders/resources/button-border.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.svg
diff --git a/LayoutTests/fast/borders/resources/button-border.svg b/LayoutTests/fast/borders/resources/button-border.svg
new file mode 100644
index 0000000000000000000000000000000000000000..bdaab36e54fb1de22b0dbd2b8f72e51d19b073d2
--- /dev/null
+++ b/LayoutTests/fast/borders/resources/button-border.svg
@@ -0,0 +1,13 @@
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" 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="2" y="2" width="28" height="44" fill="#D0D0D0" shape-rendering="crispEdges" clip-path="url(#upperClip)"/>
+ <rect x="2" y="2" width="28" height="44" fill="#C0C0C0" shape-rendering="crispEdges" clip-path="url(#lowerClip)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698