%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/javascript/modernizr/feature-detects/
Upload File :
Create Path :
Current File : //usr/share/javascript/modernizr/feature-detects/css-lastchild.js

// 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);

});

Zerion Mini Shell 1.0