Skip to content

Commit d4322fe

Browse files
committed
EventListenerOptions: tweak dictionary member wording again
1 parent fb875c8 commit d4322fe

File tree

2 files changed

+32
-260
lines changed

2 files changed

+32
-260
lines changed

dom.bs

+8-8
Original file line numberDiff line numberDiff line change
@@ -1061,11 +1061,11 @@ method, when invoked, must run these steps:
10611061
<li>If <var>options</var> is a boolean, set <var>capture</var> to
10621062
<var>options</var>.
10631063

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.
10661066

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.
10691069

10701070
<li><p>Append an <a>event listener</a> to the associated list of <a>event listeners</a> with
10711071
<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
10841084
<li>If <var>options</var> is a boolean, set <var>capture</var> to
10851085
<var>options</var>.
10861086

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.
10891089

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.
10921092

10931093
<li>If there is an <a>event listener</a> in the associated list of
10941094
<a>event listeners</a> whose <b>type</b> is <var>type</var>, <b>callback</b> is <var>callback</var>,

0 commit comments

Comments
 (0)