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

Add Safari versions for api.DOMTokenList.toggle.force_parameter #12139

Conversation

queengooborg
Copy link
Collaborator

This PR adds real values for Safari (Desktop and iOS/iPadOS) for the toggle.force_parameter member of the DOMTokenList API, based upon manual testing.

Test Code Used:

var elm = document.createElement('b');
elm.className = 'foo bar';
elm.classList.toggle('foo', true);
return elm.className === 'foo bar';

This PR adds real values for Safari (Desktop and iOS/iPadOS) for the `toggle.force_parameter` member of the `DOMTokenList` API, based upon manual testing.

Test Code Used: 
```js
var elm = document.createElement('b');
elm.className = 'foo bar';
elm.classList.toggle('foo', true);
return elm.className === 'foo bar';
```
@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Aug 23, 2021
@queengooborg queengooborg mentioned this pull request Aug 23, 2021
@foolip foolip merged commit afcfae0 into mdn:main Aug 25, 2021
@queengooborg queengooborg deleted the api/DOMTokenList/toggle/force_parameter/safari-corrections branch August 26, 2021 07:40
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.

2 participants