Skip to content

Commit

Permalink
Correct ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Jul 4, 2024
1 parent ac68dd7 commit f1edbe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,8 @@ empty string instead, and then do as described below:
1. Let |value| be the result of calling [$Get Trusted Type compliant string$] with
{{TrustedScript}}, [=this=]'s [=relevant global object=], the given value, `HTMLScriptElement textContent`, and
`script`.
1. Run [=set text content=] with [=this=] and |value|.
1. Set [=this=]'s [=HTMLScriptElement/changed by trusted sink=] to true.
1. Run [=set text content=] with [=this=] and |value|.

The {{HTMLScriptElement/textContent}} getter steps are:

Expand All @@ -1213,8 +1213,8 @@ Update the {{HTMLScriptElement/text}} setter steps algorithm as follows.
1. <ins>Let |value| be the result of calling [$Get Trusted Type compliant string$] with
{{TrustedScript}}, [=this=]'s [=relevant global object=], the given value, `HTMLScriptElement text`, and
`script`.</ins>
1. [=String replace all=] with the given value within [=this=].
1. Set [=this=]'s [=HTMLScriptElement/changed by trusted sink=] to true.
1. [=String replace all=] with the given value within [=this=].


#### The {{HTMLScriptElement/src}} IDL attribute #### {#the-src-idl-attribute}
Expand Down

0 comments on commit f1edbe5

Please sign in to comment.