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

Unified Diff: LayoutTests/fast/borders/border-image-fill-inline-no-border-expected.html

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/border-image-fill-inline-no-border-expected.html
diff --git a/LayoutTests/fast/borders/border-image-fill-inline-no-border-expected.html b/LayoutTests/fast/borders/border-image-fill-inline-no-border-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..7c4c0bb90ca8793a8c763b28e4b6b50a135b6314
--- /dev/null
+++ b/LayoutTests/fast/borders/border-image-fill-inline-no-border-expected.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ td {
+ padding: 10px;
+ }
+ span {
+ padding: 5px 14px;
+ }
+ .font-size-200 {
+ font-size: 200%;
+ }
+ .font-size-400 {
+ font-size: 400%;
+ }
+ .border-slices {
+ border: 20px solid transparent;
+ border-image: url("resources/button-border.svg") 0 14 0 14 fill;
+ }
+ .no-border-image-cropped {
+ border: 0px none;
+ background-image: url("resources/button-border-cropped.svg");
+ background-size: 100% 100%;
+ }
+ .no-border-image {
+ border: 0px none;
+ background-image: url("resources/button-border.svg");
+ background-size: 100% 100%;
+ }
+ </style>
+</head>
+<body>
+ <table>
+ <tr>
+ <td><span class="font-size-200 border-slices">Search</span></td>
+ <td><span class="font-size-200 no-border-image-cropped">Search</span></td>
+ <td><span class="font-size-200 no-border-image">Search</span></td>
+ </tr>
+ <tr>
+ <td><span class="font-size-400 border-slices">Search</span></td>
+ <td><span class="font-size-400 no-border-image-cropped">Search</span></td>
+ <td><span class="font-size-400 no-border-image">Search</span></td>
+ </tr>
+ </table>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698