Adding csscolor-standard test. #65

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

Always

Just for now

@@ -0,0 +1,5 @@
+---
+ r: 0
+ spec: "http://www.w3.org/TR/css3-color/"
+ sources: ["https://github.com/Modernizr/Modernizr"]
+ title: "CSS3 Color, Standard"
@@ -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" );
+
+});