Re: Image Resize Issue

> Does the W3C think as well that the problem doesn’t seem to be related to
CSP?

Microsoft is right about IE's lack of support for CSP, apart from the
'sandbox' directive which isn't at play here. Also I think IE requires the
pre-standard X- prefix on the header. CSP can't be the source of your
problem in IE.

Even if IE did support CSP, a policy might block the image from loading (no
load event), or it might block your script from running at all, but there's
nothing in CSP that would lead to your script reporting an incorrect image
size.

Received on Friday, 24 January 2020 08:47:26 UTC