File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ void HTMLDialogElement::close_the_dialog(Optional<String> result)
351351 // FIXME: 12. If subject's previously focused element is not null, then:
352352 // 1. Let element be subject's previously focused element.
353353 // 2. Set subject's previously focused element to null.
354- // 3. If subject's node document's focused area of the document's DOM anchor is a shadow-including inclusive descendant of element ,
354+ // 3. If subject's node document's focused area of the document's DOM anchor is a shadow-including inclusive descendant of subject ,
355355 // or wasModal is true, then run the focusing steps for element; the viewport should not be scrolled by doing this step.
356356
357357 // 13. Queue an element task on the user interaction task source given the subject element to fire an event named close at subject.
You can’t perform that action at this time.
0 commit comments