Skip to content

Need to pass all the descendant of root to handle button invoker's top most popover ancestor #9164

Closed

Description

@cathiechen

https://html.spec.whatwg.org/multipage/popover.html#topmost-popover-ancestor

For each button invoker that is a descendant of newPopover's root, in tree order:

Here we need to pass all the descendants, it is not very effective for performance.
I tried to maintain a list of button invokers for each popover, but it does not work, especially the spec requires tree order.
Should we optimize this?
Any ideas? @jakearchibald @emilio @nt1m

Activity

  1. jakearchibald commented on Apr 13, 2023

    @jakearchibald
    Contributor

    Related: #9160
    And discussion in the meeting today: https://www.w3.org/2023/04/13-openui-minutes.html#t03

  2. added
    topic: popover
    on Apr 13, 2023
  3. nt1m commented on Jun 6, 2023

    @nt1m
    Member

    Closing as I think this was fixed by #9171.

    @cathiechen Please feel free to reopen if that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: popover

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions