Adding cssborderimage test. #62

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+25 −0
Diff settings

Always

Just for now

@@ -0,0 +1,5 @@
+---
+ r: 2
+ spec: "http://www.w3.org/TR/css3-background/"
+ sources: ["https://github.com/Modernizr/Modernizr"]
+ title: "CSS3 BorderImage"
@@ -0,0 +1,20 @@
+test("CSS border-image", function() {
+
+ var elem = document.createElement("div");
+
+ assert( H.test.cssProp( elem, "borderImageSource", true ), "border-image-source supported" );
+ assert( H.test.cssProp( elem, "borderImageSlice", true ), "border-image-slice supported" );
+ assert( H.test.cssProp( elem, "borderImageWidth", true ), "border-image-width supported" );
+ assert( H.test.cssProp( elem, "borderImageOutset", true ), "border-image-outset supported" );
+ assert( H.test.cssProp( elem, "borderImageRepeat", true ), "border-image-repeat supported" );
+ assert( H.test.cssProp( elem, "borderImage", true ), "Shorthand border-image supported" );
+
+});
+
+test("CSS border-image shorthand property", function() {
+
+ var elem = document.createElement("div");
+
+ assert( H.test.cssProp( elem, "borderImage", true ), "CSS border-image shorthand property supported" );
+
+});