Welcome Guest, Not a member yet? Register   Sign In
Allow inline style attibute on element using Content Security Policy (CSP)
#3

(09-22-2021, 11:19 PM)InsiteFX Wrote: MDN Web Docs - CSP: style-src

The example they're showing is when its like below:
Code:
<style>
  #inline-style { background: red; }
</style>

What i need is when the style is applied like so:
Code:
<div style="display:none">Foo</div>
Reply


Messages In This Thread
RE: Allow inline style attibute on element using Content Security Policy (CSP) - by coderscvoen - 09-23-2021, 02:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB