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 (#556)

Closes #552
  • Loading branch information
fred-wang authored Oct 28, 2024
1 parent a71f29c commit e8ff92b
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 @@ -678,7 +678,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 @@ -720,7 +720,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 e8ff92b

Please sign in to comment.