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
trusty-festivity-extension-2.5.6 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.5.5 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
catscope-0.1.1 assets/bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js
rubyneat_dashboard-0.4.1 bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.5.4 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
paint-rails-0.8.27.1 vendor/assets/stylesheets/bower_components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.5.3 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.5.2 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.5.1 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.5.0 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.4.6 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.4.5 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.4.4 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.4.3 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.4.2 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.4.1 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.4.0 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.3.30 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.3.29 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js
trusty-festivity-extension-2.3.28 vendor/assets/components/modernizr/feature-detects/css-backgroundposition-shorthand.js