Skip to content

Remove mutation events from the spec - #10573

Merged
domenic merged 2 commits into
whatwg:mainfrom
mfreed7:mutation_events
Aug 26, 2024
Merged

domenic merged 2 commits into
whatwg:mainfrom
mfreed7:mutation_events

Conversation

@mfreed7

@mfreed7 mfreed7 commented Aug 21, 2024 •

Copy link
Copy Markdown
Contributor

The html spec only mentioned mutation events a handful of times, but now that they have been removed from some browsers it feels safe to remove these mentions from the spec.

Closes whatwg/dom#305


/common-dom-interfaces.html ( diff )
/dom.html ( diff )
/dynamic-markup-insertion.html ( diff )
/interactive-elements.html ( diff )
/parsing.html ( diff )
/xhtml.html ( diff )

The html spec only mentioned mutation events a handful of times,
but now that they [have been removed from some browsers](whatwg/dom#305 (comment))
it feels safe to remove these mentions from the spec.
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 21, 2024
This set of tests goes along with this spec PR:

  whatwg/html#10573

Bug: 40268638
Change-Id: I39aafcc0ec1f36704cdc3a263c798c1873333b11
aarongable pushed a commit to chromium/chromium that referenced this pull request Aug 21, 2024
This set of tests goes along with this spec PR:

  whatwg/html#10573

Bug: 40268638
Change-Id: I39aafcc0ec1f36704cdc3a263c798c1873333b11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5803663
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1345088}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 21, 2024
This set of tests goes along with this spec PR:

  whatwg/html#10573

Bug: 40268638
Change-Id: I39aafcc0ec1f36704cdc3a263c798c1873333b11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5803663
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1345088}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 21, 2024
This set of tests goes along with this spec PR:

  whatwg/html#10573

Bug: 40268638
Change-Id: I39aafcc0ec1f36704cdc3a263c798c1873333b11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5803663
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1345088}

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice! LGTM with nit.

I'll give others a few days to comment as well.

Comment thread source Outdated
Comment thread source Outdated
Comment thread source Outdated

@mfreed7 mfreed7 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

Comment thread source Outdated
Comment thread source Outdated
Comment thread source Outdated
@mfreed7

mfreed7 commented Aug 23, 2024

Copy link
Copy Markdown
Contributor Author

[ ] Implementation bugs are filed:

Given your good point about origin trials and dates, do you think I should just hold off on filing implementation bugs?

Comment thread source
.</p>



Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks like it removes too many newlines, but maybe it makes it more consistent?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that's kind of why I removed those - they seemed extra. I can put them back if you tell me how many blank lines would be correct?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One day we will have automatic formatting for newlines before headings, but until we do, the document is very inconsistent, so I'm OK to merge without fixing this.

@annevk

annevk commented Aug 23, 2024

Copy link
Copy Markdown
Member

Yeah, I think Gecko and WebKit can get an implementation bug when we decide the whatwg/dom issue is good. Gecko might also already have one. I think it's still okay to merge this given that it's highly likely going to succeed and given that mutation events weren't much specified to begin with.

@mfreed7

mfreed7 commented Aug 23, 2024

Copy link
Copy Markdown
Contributor Author

Yeah, I think Gecko and WebKit can get an implementation bug when we decide the whatwg/dom issue is good. Gecko might also already have one. I think it's still okay to merge this given that it's highly likely going to succeed and given that mutation events weren't much specified to begin with.

Sounds good, thanks!

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Aug 23, 2024
… a=testonly

Automatic update from web-platform-tests
Add mutation events to "historical" WPT

This set of tests goes along with this spec PR:

  whatwg/html#10573

Bug: 40268638
Change-Id: I39aafcc0ec1f36704cdc3a263c798c1873333b11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5803663
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1345088}

--

wpt-commits: e0c3477d2cff8aaaefd421ca6543198ec30dc3ef
wpt-pr: 47727
@domenic
domenic merged commit 9a01ce8 into whatwg:main Aug 26, 2024
@domenic domenic added the removal/deprecation Removing or deprecating a feature label Apr 25, 2025
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
… a=testonly

Automatic update from web-platform-tests
Add mutation events to "historical" WPT

This set of tests goes along with this spec PR:

  whatwg/html#10573

Bug: 40268638
Change-Id: I39aafcc0ec1f36704cdc3a263c798c1873333b11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5803663
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1345088}

--

wpt-commits: e0c3477d2cff8aaaefd421ca6543198ec30dc3ef
wpt-pr: 47727
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

removal/deprecation Removing or deprecating a feature

Development

Successfully merging this pull request may close these issues.

Define mutation events

3 participants