import from la bonne adresse and first refactoring for ouidade.com
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// last-child pseudo selector
|
||||
// https://github.com/Modernizr/Modernizr/pull/304
|
||||
|
||||
|
||||
Modernizr.addTest('lastchild', function(){
|
||||
|
||||
return Modernizr.testStyles("#modernizr div {width:100px} #modernizr :last-child{width:200px;display:block}", function (elem) {
|
||||
return elem.lastChild.offsetWidth > elem.firstChild.offsetWidth;
|
||||
}, 2);
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user