Skip to content

Commit 520e257

Browse files
shvaikaleshfantasai
authored andcommitted
[resize-observer-1] Invoke callback with observer as 2nd argument and this value
1 parent 5e07eda commit 520e257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resize-observer-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ To broadcast active resize observations for a |document|, run these steps:
506506

507507
5. Set |shallowestTargetDepth| to |targetDepth| if |targetDepth| < |shallowestTargetDepth|
508508

509-
4. Invoke |observer|.{{ResizeObserver/[[callback]]}} with |entries|.
509+
4. Invoke |observer|.{{ResizeObserver/[[callback]]}} with |entries| as the first argument and |observer| as the second argument and <a>callback this value</a>. If this throws an exception, <a>report the exception</a>.
510510

511511
5. Clear |observer|.{{ResizeObserver/[[activeTargets]]}}.
512512

0 commit comments

Comments
 (0)