From 32a94add0ba234b762edd439175dc0115c30d10a Mon Sep 17 00:00:00 2001
From: Domenic Denicola
Let autofocus delegate be the autofocus delegate for - root given focus trigger.
If autofocus delegate is not null, then return autofocus - delegate.
If focus trigger is "click
", then let possible
- focus delegates be the list of all click focusable focusable areas whose DOM anchor is a shadow-including
- descendant of root.
Otherwise, let possible focus delegates be the list of all focusable areas whose DOM anchor is a - shadow-including descendant of root.
If possible focus delegates is empty, then return null.
Sort possible focus delegates by shadow-including tree - order of their DOM anchors.
Return possible focus delegates[0].
Return the focus delegate for root given focus + trigger.
For sequential focusability, the @@ -75224,6 +75198,34 @@ END:VCARD
Return null.
The focus delegate for a focus target, given an optional string
+ focus trigger (default "other
"), is given by the following
+ steps:
Let autofocus delegate be the autofocus delegate for + focus target given focus trigger.
If autofocus delegate is not null, then return autofocus + delegate.
If focus trigger is "click
", then let possible
+ focus delegates be the list of all click focusable focusable areas whose DOM anchor is a shadow-including
+ descendant of focus target.
Otherwise, let possible focus delegates be the list of all focusable areas whose DOM anchor is a + shadow-including descendant of focus target.
If possible focus delegates is empty, then return null.
Sort possible focus delegates by shadow-including tree order of + their DOM anchors.
Return possible focus delegates[0].
The autofocus delegate for a focus target given a focus trigger is given by the following steps: