Closed lukewarlow closed 5 months ago
Okay so after doing some more digging I think this section needs removing entirely and https://w3c.github.io/trusted-types/dist/spec/#validate-attribute-mutation needs updating to account for event handler attributes.
In the enforcement in event handler content attributes the sink name as specified does not match the rest of the spec.
The note is wrong because el.onclick = 'string' wont trigger a violation. But also the sink value here doesn't match anywhere else in the spec. I would expect
Element onclick
personally?