Skip to content

Commit

Permalink
Fix missing attribute name in returned tuple for event handler case
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Apr 18, 2024
1 parent 123ce3a commit 37e5d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ To <dfn abstract-op>Get Trusted Type data for attribute</dfn> given |element|, |

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, {{TrustedScript}}, "Element " + |attribute|).
1. Return ({{Element}}, null, |attribute|, {{TrustedScript}}, "Element " + |attribute|).
1. Find the row in the following table, where |element| is in the first column, |attributeNs| is in the second column,
and |attribute| is in the third column.
If a matching row is found, set |data| to that row.
Expand Down

0 comments on commit 37e5d68

Please sign in to comment.