Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1338,6 +1338,20 @@ Update the {{HTMLScriptElement/text}} setter steps algorithm as follows.

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

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

1. <ins>Let |element| be the result of running [=this=]'s [=get the element=].</ins>

1. <ins>Let |contentAttributeValue| be the result of running [=this=]'s [=get the content attribute=].</ins>

1. <ins>If |contentAttributeValue| is null, then return the empty string.</ins>

1. <ins>Let |urlString| be the result of encoding-parsing-and-serializing a URL given |contentAttributeValue|, relative to |element|'s [=node document=].</ins>

1. <ins>If |urlString| is not failure, then return |urlString|.</ins>

1. <ins>Return |contentAttributeValue|, [=converted to a scalar value string=].

The {{HTMLScriptElement/src}} setter steps are:

1. <ins>Let |value| be the result of calling [$Get Trusted Type compliant string$] with
Expand Down
Loading