Skip to content

Implement DOMElement::toggleAttribute() #11696

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

Closed
wants to merge 3 commits into from

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos force-pushed the dom-element-toggleAttribute branch 2 times, most recently from 540ea2b to 12c2081 Compare July 13, 2023 11:28
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

LGTM, maybe @theseer wants to have another look over the test case

@theseer
Copy link
Contributor

theseer commented Jul 17, 2023

I'm not 100% convinced yet all potential cases with force being true/false/ ommited are covered .. But it's collapsing in my head every time I try to think it through..

@Girgias
Copy link
Member

Girgias commented Jul 17, 2023

Well that's probably good enough :D one can always report a bug if an edge case is found!

@nielsdos nielsdos force-pushed the dom-element-toggleAttribute branch from 12c2081 to 9f19055 Compare July 17, 2023 16:57
@nielsdos nielsdos closed this in db5e8ae Jul 17, 2023
@nielsdos
Copy link
Member Author

Merged with some extra tests to cover additional combinations of the force argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants