Skip to content

Remove api.Element.classList features that duplicate api.DOMTokenList#10128

Merged
foolip merged 1 commit intomdn:mainfrom
ddbeck:9526-remove-api.Element.classList.---
May 22, 2021
Merged

Remove api.Element.classList features that duplicate api.DOMTokenList#10128
foolip merged 1 commit intomdn:mainfrom
ddbeck:9526-remove-api.Element.classList.---

Conversation

@ddbeck
Copy link
Contributor

@ddbeck ddbeck commented Apr 27, 2021

This PR removes:

  • api.Element.classList.add_and_remove_multiple_arguments
  • api.Element.classList.replace
  • api.Element.classList.toggle_method_second_argument

These features all describe DOMTokenList APIs that are already properly described by the DOMTokenList tree (though with varying names or structures). Because the data quality for the classList features is rather poor, it just creates confusion as evidenced by #9526.

This PR fixes #9526.

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Apr 27, 2021
@foolip foolip merged commit eea8c5e into mdn:main May 22, 2021
@ddbeck ddbeck deleted the 9526-remove-api.Element.classList.--- branch May 24, 2021 18:07
ddbeck added a commit to ddbeck/browser-compat-data that referenced this pull request May 27, 2021
ddbeck added a commit that referenced this pull request May 27, 2021
* Bump to v3.3.5

* Add release note for #10571

* Add release note for #10548

* Add release note for #10550

* Add release note for #10551

* Add release note for #10128

* Add release notes for #10568, #10576, and #10577

* Add stats

* Update stats
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.

api.Element.classList.replace - Feature duplicates api.DOMTokenList.replace

3 participants