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

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: 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..8d62d62d2629bc36d6b8719f2b3cea1f33332afe
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/borders/border-image-should-not-display.html
@@ -0,0 +1,19 @@
+<style>
Timothy Loh 2015/11/23 06:23:19 <!doctype html> is preferred
+div {
+ background-color: green;
+ width: 100px;
+ height: 100px;
+ #If border style is not set (default is None), border-image
Timothy Loh 2015/11/23 06:23:19 CSS comments are written with /* .. */ syntax.
+ #should be ignored.
+ #border-style: solid;
+}
+
+#borderimg1 {
Timothy Loh 2015/11/23 06:23:19 Since you only have one div, just put all the styl
+ -webkit-border-image: url(red.png) 30 round;
Timothy Loh 2015/11/23 06:23:19 no need for the prefixed property
+ border-image: url(resources/red.png) 30 round;
+ border-width: 100px;
+}
+
+</style>
+<div id="borderimg1"></div>
+

Powered by Google App Engine
This is Rietveld 408576698