Skip to content

Change endpoint check from null to document#8966

Merged
annevk merged 1 commit into
whatwg:mainfrom
josepharhar:endpointcheck
Mar 1, 2023
Merged

Change endpoint check from null to document#8966
annevk merged 1 commit into
whatwg:mainfrom
josepharhar:endpointcheck

Conversation

@josepharhar
Copy link
Copy Markdown
Contributor

@josepharhar josepharhar commented Mar 1, 2023

In #8886 I made the endpoint parameter in hide all popovers until never null by making it either a document or an element, but I forgot to change this null check to a document check.

Fixes #8963

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …
  • MDN issue is filed: …

(See WHATWG Working Mode: Changes for more details.)


/popover.html ( diff )

In whatwg#8886 I made the endpoint
parameter in hide all popovers until never null by making it either a
document or an element, but I forgot to change this null check to a
document check.

Fixes whatwg#8963
@annevk annevk added the topic: popover The popover attribute and friends label Mar 1, 2023
@annevk annevk requested a review from nt1m March 1, 2023 19:26
@annevk annevk merged commit b8e2674 into whatwg:main Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: popover The popover attribute and friends

Development

Successfully merging this pull request may close these issues.

Issue with "hide all popovers until" algorithm

2 participants