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

Unified Diff: LayoutTests/fast/borders/border-image-fill-no-border.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-no-border.html
diff --git a/LayoutTests/fast/borders/border-image-fill-no-border.html b/LayoutTests/fast/borders/border-image-fill-no-border.html
new file mode 100644
index 0000000000000000000000000000000000000000..55fa9cc0f83a2fdd3bb34a07bcb3227b5f91a6b1
--- /dev/null
+++ b/LayoutTests/fast/borders/border-image-fill-no-border.html
@@ -0,0 +1,45 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <style>
+ .inline-block {
+ display: inline-block;
+ margin: 10px;
+ }
+ .fixed-container {
+ height: 80px;
+ width: 80px;
+ }
+ .thick-border {
+ border: 20px solid black;
+ background-color: yellow;
+ }
+ .zero-border {
+ border: 0px solid black;
+ background-color: red;
+ }
+ .border-image-zero-slice {
+ border-image: url('resources/svg-100x100-intrinsic.svg') 0 fill;
+ }
+ .border-image-thick-slice {
+ border-image: url('resources/svg-100x100-intrinsic.svg') 25 fill;
+ }
+ </style>
+</head>
+<body>
+ <div class="inline-block fixed-container zero-border border-image-zero-slice"></div>
+ <div class="inline-block fixed-container thick-border border-image-zero-slice"></div>
+ <div class="inline-block fixed-container zero-border border-image-thick-slice"></div>
+ <div class="inline-block fixed-container thick-border border-image-thick-slice"></div>
+ <br>
+ <div class="inline-block"><object class="fixed-container zero-border border-image-zero-slice"></object></div>
+ <div class="inline-block"><object class="fixed-container thick-border border-image-zero-slice"></object></div>
+ <div class="inline-block"><object class="fixed-container zero-border border-image-thick-slice"></object></div>
+ <div class="inline-block"><object class="fixed-container thick-border border-image-thick-slice"></object></div>
+ <br>
+ <table class="inline-block fixed-container zero-border border-image-zero-slice"><tr/></table>
+ <table class="inline-block fixed-container thick-border border-image-zero-slice"><tr/></table>
+ <table class="inline-block fixed-container zero-border border-image-thick-slice"><tr/></table>
+ <table class="inline-block fixed-container thick-border border-image-thick-slice"><tr/></table>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698