Sha256: 2dda3cfe82d8f628a54e044ee347115e9f181f8afa2c1c18514ad6a5a764c27b

Contents?: true

Size: 492 Bytes

Versions: 144

Compression:

Stored size: 492 Bytes

Contents

/*
    https://developer.mozilla.org/en/CSS/background-position
    http://www.w3.org/TR/css3-background/#background-position

    Example: http://jsfiddle.net/Blink/bBXvt/
*/

(function() {

    var elem = document.createElement('a'),
        eStyle = elem.style,
        val = "right 10px bottom 10px";

    Modernizr.addTest('bgpositionshorthand', function(){
        eStyle.cssText = "background-position: " + val + ";";
        return (eStyle.backgroundPosition === val);
    });

}());

Version data entries

144 entries across 144 versions & 7 rubygems

Version Path
rubyneat_dashboard-0.4.0.alpha.4.pre.1 bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js
rubyneat_dashboard-0.4.0.alpha.4 bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js
TokiCLI-0.2.1 lib/TokiServer/bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js
TokiCLI-0.2.0 lib/TokiServer/bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js