Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb: Prevent a popover crash and implement popovertarget #3285

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Gingeh
Copy link
Contributor

@Gingeh Gingeh commented Jan 17, 2025

The first commit is based on whatwg/html#9457 and prevents a crash when removing a visible popover.
That spec PR hasn't been merged yet and is currently slightly outdated, but the changes are spread throughout the code so I'm not sure what the best place to add a FIXME/AD-HOC would be.

The second commit implements popovertarget buttons (and includes a change to top layer elements to prevent a crash when hiding and showing a popover in the same frame).

This PR also fixes 29 crashing tests and gains at least 1656 new subtest passes.

(I may start a followup PR to update and implement the remaining parts of the popover spec)

Copy link

Your pull request has conflicts that need to be resolved before it can be reviewed and merged. Make sure to rebase your branch on top of the latest master.

@github-actions github-actions bot added the conflicts Pull request has merge conflicts that need resolution label Jan 18, 2025
@github-actions github-actions bot removed conflicts Pull request has merge conflicts that need resolution labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant