Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Adding cssbackground-standard test. #60

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+28 −0
Split
@@ -0,0 +1,5 @@
+---
+ r: 1
+ spec: "http://www.w3.org/TR/css3-background/"
+ sources: ["https://github.com/Modernizr/Modernizr"]
+ title: "CSS3 Background, Standard"
@@ -0,0 +1,23 @@
+test("CSS border-image, standard", function() {
+ var elem = document.createElement("div");
+
+ assert( H.test.cssProp( elem, "borderImageSource" ), "border-image-source standard, supported" );
+ assert( H.test.cssProp( elem, "borderImageSlice" ), "border-image-slice standard, supported" );
+ assert( H.test.cssProp( elem, "borderImageWidth" ), "border-image-width standard, supported" );
+ assert( H.test.cssProp( elem, "borderImageOutset" ), "border-image-outset standard, supported" );
+ assert( H.test.cssProp( elem, "borderImageRepeat" ), "border-image-repeat standard, supported" );
+ assert( H.test.cssProp( elem, "borderImage" ), "Shorthand border-image standard, supported" );
+});
+
+test("CSS box-shadow, standard", function() {
+ var elem = document.createElement("div");
+
+ assert( H.test.cssProp( elem, "boxShadow" ), "CSS box-shadow standard, supported" );
+});
+
+
+test("CSS border-radius, standard", function() {
+ var elem = document.createElement("div");
+
+ assert( H.test.cssProp( elem, "borderRadius" ), "CSS border-radius standard, supported" );
+});