Skip to content

Commit

Permalink
Add inline issue linking to github issue for event handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Jun 12, 2024
1 parent 28f3d2d commit 54bc99c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,8 @@ To <dfn abstract-op export>get Trusted Types-compliant attribute value</dfn> on
## Get Trusted Type data for attribute ## {#get-trusted-type-data-for-attribute}
To <dfn abstract-op>Get Trusted Type data for attribute</dfn> given |element|, |attribute|, |attributeNs|, perform the following steps:

Issue: The [=event handler content attribute=] concept used below is ambiguous. This spec needs a better mechanism to identify event handler attributes. See [https://github.com/w3c/trusted-types/issues/520](https://github.com/w3c/trusted-types/issues/520).

1. Let |data| be null.
1. If |attributeNs| is null, and |attribute| is the name of an [=event handler content attribute=], then:
1. Return ({{Element}}, null, |attribute|, {{TrustedScript}}, "Element " + |attribute|).
Expand Down

0 comments on commit 54bc99c

Please sign in to comment.