Martin Auswöger
Martin Auswöger
Do you have a link to the affected webpage? This would make it much easier to debug.
There are two possible reasons for this message from the linter: Either there is a bug in the linter or your `sizes` attribute is more than 6% different from the...
> In the Examples section, 2nd example, you write > >> Viewport 641, Image 193. (614 * 0.36 - 38) > > Were you meant to write `Viewport 641, Image...
> … do you think does the browser in any way create an array of all the media condition in the sizes attribute, flags the one that fits and only...
Thanks for the links! I will look into them (but I’m not sure if I will understand it :)
I took a first go on this feature and I think it looks quite nice so far 🎉 @eeeps It went live just now, would be great if you could...
> Is it possible to pass any options? No, currently it is not possible to configure any options of the linter. > On "A fitting image source should be available...
You can add some JavaScript to trigger the Webkit engine after a browser window resize: ```js window.addEventListener('resize', function() { document.querySelectorAll('img[srcset]').forEach(function(img) { img.src += ''; }); }); ```
> From what I understand the code simply removes the src attribute value on resize No. My code appends (`+=`) an empty string to the `src` attribute, which means it...
> Oh and where is this Safari bug referenced officially? I think the link to the WebKit bug you posted looks like the best “official” reference: > I would imagine...