@@ -1061,11 +1061,11 @@ method, when invoked, must run these steps:
1061
1061
<li> If <var> options</var> is a boolean, set <var> capture</var> to
1062
1062
<var> options</var> .
1063
1063
1064
- <li> If <var> options</var> is a dictionary and has member <code> {{EventListenerOptions/capture}} </code> with value true, then
1065
- set <var> capture</var> to true.
1064
+ <li> If <var> options</var> is a dictionary and <code> {{EventListenerOptions/capture}} </code> is
1065
+ present in <var> options </var> with value true, then set <var> capture</var> to true.
1066
1066
1067
- <li> If <var> options</var> is a dictionary and has member <code> {{EventListenerOptions/passive}} </code> with value true, then
1068
- set <var> passive</var> to true.
1067
+ <li> If <var> options</var> is a dictionary and <code> {{EventListenerOptions/passive}} </code> is
1068
+ present in <var> options </var> with value true, then set <var> passive</var> to true.
1069
1069
1070
1070
<li><p> Append an <a>event listener</a> to the associated list of <a>event listeners</a> with
1071
1071
<b> type</b> set to <var> type</var> , <b> callback</b> set to <var> callback</var> , <b> capture</b>
@@ -1084,11 +1084,11 @@ method, when invoked, must, run these steps
1084
1084
<li> If <var> options</var> is a boolean, set <var> capture</var> to
1085
1085
<var> options</var> .
1086
1086
1087
- <li> If <var> options</var> is a dictionary and has member <code> {{EventListenerOptions/capture}} </code> with value true, then
1088
- set <var> capture</var> to true.
1087
+ <li> If <var> options</var> is a dictionary and <code> {{EventListenerOptions/capture}} </code> is
1088
+ present in <var> options </var> with value true, then set <var> capture</var> to true.
1089
1089
1090
- <li> If <var> options</var> is a dictionary and has member <code> {{EventListenerOptions/passive}} </code> with value true, then
1091
- set <var> passive</var> to true.
1090
+ <li> If <var> options</var> is a dictionary and <code> {{EventListenerOptions/passive}} </code> is
1091
+ present in <var> options </var> with value true, then set <var> passive</var> to true.
1092
1092
1093
1093
<li> If there is an <a>event listener</a> in the associated list of
1094
1094
<a>event listeners</a> whose <b> type</b> is <var> type</var> , <b> callback</b> is <var> callback</var> ,
0 commit comments