You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Set |localName| to |tagName| in [=ASCII lowercase=].
700
714
1. Set |attribute| to |attribute| in [=ASCII lowercase=].
715
+
1. If |attribute| starts with "on", then return {{TrustedScript}}.
701
716
1. If |elementNs| is an empty string, set |elementNs| to [=HTML namespace=].
702
717
1. If |attrNs| is an empty string, set |attrNs| to null.
703
718
1. Let |interface| be the [=element interface=] for |localName| and |elementNs|.
704
-
1. If |interface| does not have an IDL <a spec="webidl">attribute</a> that [=reflects=] a content attribute with
705
-
|localName| local name and |attrNs| namespace,
706
-
return undefined and abort further steps. Otherwise, let |idlAttribute| be that IDL <a spec="webidl">attribute</a>.
707
-
1. If {{StringContext}} IDL extended attribute appears on |idlAttribute|, return
708
-
stringified {{StringContext}}'s identifier and abort further steps.
709
-
1. Return null.
719
+
1. Let |expectedType| be null.
720
+
1. Find the row in the following table, where |interface|'s name is in the first column, and |attribute|'s <a for="Attr">namespace</a> and <a for="Attr">local name</a> match the values in the second and third column, respectively.
721
+
If a matching row is found, set |expectedType| to the value of the fourth.
722
+
723
+
<table>
724
+
<thead>
725
+
<tr><th>Element<th>Attribute namespace<th>Attribute local name<th>TrustedType
0 commit comments