Skip to content

Commit

Permalink
Moving flexboxlegacy test to feature-detects/css-flexboxlegacy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rupl committed Sep 20, 2012
1 parent 6a721d5 commit 8a49474
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions feature-detects/css-flexboxlegacy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

// The *old* flexbox
// www.w3.org/TR/2009/WD-css3-flexbox-20090723/

Modernizr.addTest('flexboxlegacy', Modernizr.testPropsAll('boxDirection'));
7 changes: 0 additions & 7 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,6 @@ window.Modernizr = (function( window, document, undefined ) {
* -----
*/

// The *old* flexbox
// www.w3.org/TR/2009/WD-css3-flexbox-20090723/

tests['flexboxlegacy'] = function() {
return testPropsAll('boxDirection');
};

// On the S60 and BB Storm, getContext exists, but always returns undefined
// so we actually have to call getContext() to verify
// github.com/Modernizr/Modernizr/issues/issue/97/
Expand Down

0 comments on commit 8a49474

Please sign in to comment.