Skip to content

Commit

Permalink
Clarify that expectedType is set to the interface's name of TrustedTy…
Browse files Browse the repository at this point in the history
…pe values

Closes #552
  • Loading branch information
fred-wang committed Oct 23, 2024
1 parent d06eddd commit c6007f0
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 @@ -680,7 +680,7 @@ Its value is initially « ».
1. Let |interface| be the [=element interface=] for |localName| and |elementNs|.
1. Let |expectedType| be null.
1. Find the row in the following table, where the first column is "*" or |interface|'s name, and |property| is in the second column.
If a matching row is found, set |expectedType| to the value of the third column.
If a matching row is found, set |expectedType| to the interface's name of the value of the third column.

<table>
<thead>
Expand Down Expand Up @@ -722,7 +722,7 @@ Its value is initially « ».
* |interface| as |element|
* |attribute|
* |attrNs|
1. If |attributeData| is not null, then set |expectedType| to the value of the fourth member of |attributeData|.
1. If |attributeData| is not null, then set |expectedType| to the interface's name of the value of the fourth member of |attributeData|.
1. Return |expectedType|.

<div class="example" id="get-attribute-type-example">
Expand Down

0 comments on commit c6007f0

Please sign in to comment.