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

Unified Diff: third_party/WebKit/LayoutTests/fast/borders/border-image-should-not-display.html

Issue 1457323004: Don't render border images when border-style is none (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Edits to more tests. Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/fast/borders/border-image-should-not-display.html
diff --git a/third_party/WebKit/LayoutTests/fast/borders/border-image-should-not-display.html b/third_party/WebKit/LayoutTests/fast/borders/border-image-should-not-display.html
new file mode 100644
index 0000000000000000000000000000000000000000..161e5e25d80733fdb71640db3b7efd464933fbdc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/borders/border-image-should-not-display.html
@@ -0,0 +1,16 @@
+<style>
+div {
+ background-color: green;
+ width: 100px;
+ height: 100px;
+ /* If border style is not set (default is None), border-image
+ should be ignored.
+ border-style: solid;
+ */
+ border-image: url(resources/red.png) 30 round;
+ border-width: 100px;
+}
+</style>
+
+<div></div>
+

Powered by Google App Engine
This is Rietveld 408576698