Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adding cssbackground-standard test. #60

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 10, 2012
  1. @mattwkelly
This page is out of date. Refresh to see the latest.
View
5 tests/cssbackground-standard/config.yml
@@ -0,0 +1,5 @@
+---
+ r: 1
+ spec: "http://www.w3.org/TR/css3-background/"
+ sources: ["https://github.com/Modernizr/Modernizr"]
+ title: "CSS3 Background, Standard"
View
23 tests/cssbackground-standard/test.js
@@ -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" );
+});
Something went wrong with that request. Please try again.