Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Adding csscolor-standard test. #65

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/csscolor-standard/config.yml
@@ -0,0 +1,5 @@
+---
+ r: 0
+ spec: "http://www.w3.org/TR/css3-color/"
+ sources: ["https://github.com/Modernizr/Modernizr"]
+ title: "CSS3 Color, Standard"
View
9 tests/csscolor-standard/test.js
@@ -0,0 +1,9 @@
+test("CSS opacity, standard", function() {
+
+ var elem = document.createElement("div");
+
+ elem.style.cssText = "opacity:.55";
+
+ assert( /^0.55$/.test( elem.style.opacity ), "elem.style.opacity standard, supported" );
+
+});
Something went wrong with that request. Please try again.