Skip to content

Demix slotchange event from GlobalEventHandlers#16733

Merged
queengooborg merged 16 commits intomdn:mainfrom
queengooborg:api/GlobalEventHandlers/slotchange
Jul 18, 2022
Merged

Demix slotchange event from GlobalEventHandlers#16733
queengooborg merged 16 commits intomdn:mainfrom
queengooborg:api/GlobalEventHandlers/slotchange

Conversation

@queengooborg
Copy link
Contributor

This PR demixes the slotchange event from the GlobalEventHandlers mixin.

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jun 19, 2022
@queengooborg queengooborg added the needs content update This PR needs a corresponding update to mdn/content to update the documentation label Jun 19, 2022
@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

Copy link
Contributor

@foolip foolip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert the additions? There are already "slotchange_event" entries for HTMLSlotElement and ShadowRoot. I can only see it firing on HTMLSlotElement in Chromium, but I'm not confident enough about it to suggest removing the ShadowRoot entry. I'm asking in whatwg/dom#785 (comment) but that'll not block this PR.

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@foolip
Copy link
Contributor

foolip commented Jul 11, 2022

There's also a "slotchange_event" entry on ShadowRoot that we need to decide about. I think we should remove it, for the same reason we don't have all bubbling events on Document and Window.

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@queengooborg queengooborg merged commit f7f70c5 into mdn:main Jul 18, 2022
@queengooborg queengooborg deleted the api/GlobalEventHandlers/slotchange branch July 25, 2022 11:12
@Elchi3 Elchi3 removed the needs content update This PR needs a corresponding update to mdn/content to update the documentation label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants