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

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: Rebased, removed unnecessary border colors, etc. 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..8894328c229bd23f7fb333133a1a23a0fa640acd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/borders/border-image-should-not-display.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<html>
+<head>
+<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>
+</head>
+<body>
+<div></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698