mathiasbynens / Document.scrollingelement
Licence: other
A polyfill for document.scrollingElement as defined in the CSSOM specification.
Stars: ✭ 122
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Document.scrollingelement
Match Media
Universal polyfill for match media API using Expo APIs on mobile
Stars: ✭ 95 (-22.13%)
Mutual labels: polyfill
Polyfill Util
This component provides binary-safe string functions, using the mbstring extension when available.
Stars: ✭ 1,364 (+1018.03%)
Mutual labels: polyfill
Theraot
Backporting .NET and more: LINQ expressions in .net 2.0 - nuget Theraot.Core available.
Stars: ✭ 112 (-8.2%)
Mutual labels: polyfill
Nullable
A source code only package which allows you to use .NET's nullable attributes in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.
Stars: ✭ 106 (-13.11%)
Mutual labels: polyfill
Polyfill Php54
This component provides functions unavailable in releases prior to PHP 5.4.
Stars: ✭ 93 (-23.77%)
Mutual labels: polyfill
Touch Action
Disable 300ms delay on mobile using CSS touch-action or asynchronously download FastClick as polyfill
Stars: ✭ 119 (-2.46%)
Mutual labels: polyfill
React Suspense Polyfill
Polyfill for the React Suspense API 😮
Stars: ✭ 99 (-18.85%)
Mutual labels: polyfill
Webvr Polyfill
Use WebVR today, without requiring a special browser build.
Stars: ✭ 1,343 (+1000.82%)
Mutual labels: polyfill
Webcrypto Liner
webcrypto-liner is a polyfill that let's down-level User Agents (like IE/Edge) use libraries that depend on WebCrypto. (Keywords: Javascript, WebCrypto, Shim, Polyfill)
Stars: ✭ 98 (-19.67%)
Mutual labels: polyfill
Resize Observer Polyfill
A polyfill for the Resize Observer API
Stars: ✭ 1,530 (+1154.1%)
Mutual labels: polyfill
Proposal Array Unique
ECMAScript proposal for Deduplicating method of Array
Stars: ✭ 96 (-21.31%)
Mutual labels: polyfill
Fixed Sticky
DEPRECATED: A position: sticky polyfill that works with filamentgroup/fixed-fixed for a safer position:fixed fallback.
Stars: ✭ 1,490 (+1121.31%)
Mutual labels: polyfill
Date Time Format Timezone
Surgically polyfills timezone support in Intl.DateTimeFormat API
Stars: ✭ 94 (-22.95%)
Mutual labels: polyfill
Polyfill Php55
This component provides functions unavailable in releases prior to PHP 5.5.
Stars: ✭ 105 (-13.93%)
Mutual labels: polyfill
Ts Polyfill
Runtime polyfills for TypeScript libs, powered by core-js! 🔋 🔩
Stars: ✭ 122 (+0%)
Mutual labels: polyfill
Eqcss
EQCSS is a CSS Reprocessor that introduces Element Queries, Scoped CSS, a Parent selector, and responsive JavaScript to all browsers IE8 and up
Stars: ✭ 1,513 (+1140.16%)
Mutual labels: polyfill
Polyfill Php56
This component provides functions unavailable in releases prior to PHP 5.6.
Stars: ✭ 1,470 (+1104.92%)
Mutual labels: polyfill
document.scrollingElement
A polyfill for document.scrollingElement
as defined in the CSSOM specification.
Installation
In an HTML document:
<script src="scrollingelement.js"></script>
It’s recommended to place this right before the closing </body>
tag.
The polyfill can be used in frameset
HTML documents (in that case, place the <script>
in the <head>
) or in XML documents as well.
Browser support
The polyfill has been tested in the following browsers:
- Chrome
- Opera 11.64+
- Firefox 3.5+
- Internet Explorer 8+ (but should work even in older versions)
- Safari 8+ (but should work even in Safari 4)
Acknowledgements
Thanks to Diego Perini (@diegoperini) for his getScrollingElement
implementation, and for allowing me to re-use it as part of this polyfill.
Authors
This polyfill was written by Mathias Bynens and Simon Pieters, with help from contributors.
License
This project is available under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].