Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic image loading bypass with background-image: image-set #5296

Closed
ganthern opened this issue Mar 23, 2023 · 1 comment
Closed

Automatic image loading bypass with background-image: image-set #5296

ganthern opened this issue Mar 23, 2023 · 1 comment
Labels
bug broken functionality, usability problems, unexpected errors

Comments

@ganthern
Copy link
Contributor

Code such as this:

<table>
  <tbody>
    <tr>
      <td style="background-size:cover; background-position:center; background-repeat:no-repeat; background-image: -webkit-image-set(url('https://tutanota.com/resources/images/stock/code-security-lock-stock.webp') 1x, url('https://tutanota.com/resources/images/stock/code-security-lock-stock.webp') 2x);" background="https://tutanota.com/resources/images/stock/code-security-lock-stock.webp" align="center"></td>
    </tr>
  </tbody>
</table>

triggers loading (at least in Chrome 110.0.5481.100)

example eml: img-auto-load.zip

@ganthern ganthern added the bug broken functionality, usability problems, unexpected errors label Mar 23, 2023
@ganthern
Copy link
Contributor Author

closed with e355dd9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors
Projects
None yet
Development

No branches or pull requests

1 participant