mirror of https://github.com/searxng/searxng.git
c416464949
Images should include dimension attributes. Without `width` and `height` specified, image dimensions are 0×0 pixels at first. ... In this case the browser determines that all of them are visible to the user and decides to load everything [1]. In CSS the `width` is set to a value and the `height` is unsed to scale the image proportional in both dimensions. [1] https://web.dev/browser-level-image-lazy-loading/#images-should-include-dimension-attributes [2] https://caniuse.com/loading-lazy-attr Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> |
||
---|---|---|
.. | ||
css | ||
img | ||
js | ||
src | ||
.eslintrc.json | ||
.gitignore | ||
.jshintrc | ||
.stylelintrc.json | ||
gruntfile.js | ||
package.json | ||
svg4favicon.svgo.js | ||
svg4web.svgo.js |