Skip to content

Conversation

@otherdaniel
Copy link
Member

Update sanitizer-api/sanitizer-boolean-defaults.tentative.html to match the current spec. In particular, adapt to the behaviour that dataAttribute cannot be set when removeAttributes is also set.

I've re-arranged the order of test cases under 4 blocks each, for parameter-less construction, empty dict, and explicitly true and false. I hope this makes it easier to understand what's going on.

Copy link
Contributor

@evilpie evilpie left a comment

Choose a reason for hiding this comment

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

Isn't this missing a test for { attributes: [] } where dataAttributes is automatically added?

@wpt-pr-bot wpt-pr-bot requested a review from iVanlIsh November 13, 2025 13:11
@otherdaniel
Copy link
Member Author

Isn't this missing a test for { attributes: [] } where dataAttributes is automatically added?

Done.

@otherdaniel otherdaniel merged commit 676bf0e into web-platform-tests:master Nov 13, 2025
34 of 35 checks passed
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.

4 participants