Sha256: 4743ad8858ff6fcd6097cbaf0011eba38856d776cca9a72cafb3be7516510f7a

Contents?: true

Size: 468 Bytes

Versions: 144

Compression:

Stored size: 468 Bytes

Contents

// Sticky positioning - constrains an element to be positioned inside the
// intersection of its container box, and the viewport.
Modernizr.addTest('csspositionsticky', function () {

    var prop = 'position:';
    var value = 'sticky';
    var el = document.createElement('modernizr');
    var mStyle = el.style;

    mStyle.cssText = prop + Modernizr._prefixes.join(value + ';' + prop).slice(0, -prop.length);

    return mStyle.position.indexOf(value) !== -1;
});

Version data entries

144 entries across 144 versions & 7 rubygems

Version Path
TokiCLI-0.3.1 lib/TokiServer/bower_components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.6.3 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.6.2 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.6.1 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.6 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.19 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.18 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.17 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
catscope-0.1.3 assets/bower_components/modernizr/feature-detects/css-positionsticky.js
catscope-0.1.2 assets/bower_components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.16 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.15 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.14 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.13 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.12 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.11 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.10 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.9 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.8 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js
trusty-festivity-extension-2.5.7 vendor/assets/components/modernizr/feature-detects/css-positionsticky.js