You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, the idref of 'popovertoggletarget' | 'popoverhidetarget' | 'popovershowtarget' must be in the same tree scope (document or shadow root) of the popover element. Reason is the chance of conflicting identical element IDs in the various trees.
It's a good question. Due to the desire for an easy declarative API, IDREFs are indeed used and they are restricted to a single document or shadow root. However, the Javascript (IDL) reflections of these attributes allow arbitrary element references to be used:
As of now, the idref of 'popovertoggletarget' | 'popoverhidetarget' | 'popovershowtarget' must be in the same tree scope (document or shadow root) of the popover element. Reason is the chance of conflicting identical element
ID
s in the various trees.Could triggering elements extend to work across tree scope boundaries?
that's quite a meaningful caveat considering triggering elements in real world use.
The text was updated successfully, but these errors were encountered: