Skip to content

Conversation

txgk
Copy link
Contributor

@txgk txgk commented Oct 11, 2025

Right now, there are no tests that check this behavior, even though it's a very important implementation detail that can be easily overlooked when implementing selectedcontent logic in parsers. In my opinion, it's perfectly reasonable to cover this with tests for the sake of completeness.

Right now, there are no tests that check this behavior, even though it's
a very important implementation detail that can be easily overlooked when
implementing `selectedcontent` logic in parsers. In my opinion, it's
perfectly reasonable to cover this with tests for the sake of completeness.
Copy link
Contributor

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Looks correct to me, but would appreciate a review from @josepharhar as well.

Also, thanks for contributing these!

Copy link
Contributor

@josepharhar josepharhar left a comment

Choose a reason for hiding this comment

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

looks good, this passes in chromium

@annevk annevk merged commit 8f43b7e into html5lib:master Oct 14, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants