├── .browserslistrc ├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml └── workflows │ ├── codeql-analysis.yml │ ├── linter.yml │ ├── pull-request.yml │ └── reuse-compliance-check.yml ├── .gitignore ├── .htmlvalidate.json ├── .husky ├── .gitignore ├── commit-msg └── pre-commit ├── .npmignore ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc.json ├── .vscode └── extensions.json ├── .xo-config.json ├── CHANGELOG.md ├── CODE-OF-CONDUCT.md ├── LICENSE ├── LICENSES └── Apache-2.0.txt ├── MIGRATION.md ├── README.md ├── bower.json ├── commitlint.config.js ├── demo ├── img │ ├── img-src-loadingeager.250x150.guetzli.jpg │ ├── lazyimg-src-loadinglazy.250x150.guetzli.jpg │ ├── lazyimg-srcset1024w-loadinglazy.1024x614.guetzli.jpg │ ├── lazyimg-srcset320w-loadinglazy.320x192.guetzli.jpg │ ├── lazyimg-srcset640w-loadinglazy.640x384.guetzli.jpg │ ├── lazypicture-1x-loadinglazy.250x150.guetzli.jpg │ ├── lazypicture-2x-loadinglazy.500x300.guetzli.jpg │ ├── lazypicture-imgsrc-loadinglazy.250x150.guetzli.jpg │ ├── lazypicture-media1x-loadinglazy.250x150.guetzli.jpg │ └── lazypicture-media2x-loadinglazy.500x300.guetzli.jpg ├── index.html └── index.js ├── dist ├── loading-attribute-polyfill.css ├── loading-attribute-polyfill.css.map ├── loading-attribute-polyfill.js ├── loading-attribute-polyfill.js.map ├── loading-attribute-polyfill.modern.css ├── loading-attribute-polyfill.modern.css.map ├── loading-attribute-polyfill.modern.js ├── loading-attribute-polyfill.modern.js.map ├── loading-attribute-polyfill.module.css ├── loading-attribute-polyfill.module.css.map ├── loading-attribute-polyfill.module.js ├── loading-attribute-polyfill.module.js.map ├── loading-attribute-polyfill.umd.js └── loading-attribute-polyfill.umd.js.map ├── package.json ├── renovate.json ├── src ├── loading-attribute-polyfill.css └── loading-attribute-polyfill.js └── webdriverio-tests ├── basic.js └── wdio.conf-crossbrowsertesting.js /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 0.1%, IE >= 9 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/linter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.github/workflows/linter.yml -------------------------------------------------------------------------------- /.github/workflows/pull-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.github/workflows/pull-request.yml -------------------------------------------------------------------------------- /.github/workflows/reuse-compliance-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.github/workflows/reuse-compliance-check.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.gitignore -------------------------------------------------------------------------------- /.htmlvalidate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.htmlvalidate.json -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | commitlint --edit "$1" 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | pretty-quick --staged 2 | git update-index --again 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.npmrc -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | package-lock.json 3 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5" 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.xo-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/.xo-config.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/CODE-OF-CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSES/Apache-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/LICENSES/Apache-2.0.txt -------------------------------------------------------------------------------- /MIGRATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/MIGRATION.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/README.md -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/bower.json -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /demo/img/img-src-loadingeager.250x150.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/img-src-loadingeager.250x150.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazyimg-src-loadinglazy.250x150.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazyimg-src-loadinglazy.250x150.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazyimg-srcset1024w-loadinglazy.1024x614.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazyimg-srcset1024w-loadinglazy.1024x614.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazyimg-srcset320w-loadinglazy.320x192.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazyimg-srcset320w-loadinglazy.320x192.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazyimg-srcset640w-loadinglazy.640x384.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazyimg-srcset640w-loadinglazy.640x384.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazypicture-1x-loadinglazy.250x150.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazypicture-1x-loadinglazy.250x150.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazypicture-2x-loadinglazy.500x300.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazypicture-2x-loadinglazy.500x300.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazypicture-imgsrc-loadinglazy.250x150.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazypicture-imgsrc-loadinglazy.250x150.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazypicture-media1x-loadinglazy.250x150.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazypicture-media1x-loadinglazy.250x150.guetzli.jpg -------------------------------------------------------------------------------- /demo/img/lazypicture-media2x-loadinglazy.500x300.guetzli.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/img/lazypicture-media2x-loadinglazy.500x300.guetzli.jpg -------------------------------------------------------------------------------- /demo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/index.html -------------------------------------------------------------------------------- /demo/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/demo/index.js -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.css: -------------------------------------------------------------------------------- 1 | img[data-lazy-src]{will-change:contents} 2 | /*# sourceMappingURL=loading-attribute-polyfill.css.map */ -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.css.map -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.js -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.js.map -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.modern.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.modern.css -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.modern.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.modern.css.map -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.modern.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.modern.js -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.modern.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.modern.js.map -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.module.css -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.module.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.module.css.map -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.module.js -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.module.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.module.js.map -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.umd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.umd.js -------------------------------------------------------------------------------- /dist/loading-attribute-polyfill.umd.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/dist/loading-attribute-polyfill.umd.js.map -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/renovate.json -------------------------------------------------------------------------------- /src/loading-attribute-polyfill.css: -------------------------------------------------------------------------------- 1 | img[data-lazy-src] { 2 | will-change: contents; 3 | } 4 | -------------------------------------------------------------------------------- /src/loading-attribute-polyfill.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/src/loading-attribute-polyfill.js -------------------------------------------------------------------------------- /webdriverio-tests/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/webdriverio-tests/basic.js -------------------------------------------------------------------------------- /webdriverio-tests/wdio.conf-crossbrowsertesting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mfranzke/loading-attribute-polyfill/HEAD/webdriverio-tests/wdio.conf-crossbrowsertesting.js --------------------------------------------------------------------------------