script-src-attr and script-src-elem directives are new additions in CSP3. I am not able to understand how are they different from the script-src directive.
https://w3c.github.io/webappsec-csp/#directive-script-src-elem
This documents the new addition but I am not able to clearly differentiate between the usage, maybe due to hard language.