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

Remove outdated comments #2339

Merged
merged 1 commit into from Oct 13, 2021
Merged

Remove outdated comments #2339

merged 1 commit into from Oct 13, 2021

Conversation

stevecheckoway
Copy link
Contributor

What problem is this PR intended to solve?

There are outdated comments in the code. The standard changed and the comments either reflected an earlier version of the standard or described how the standard was going to change.

The first comment is incorrect. The fragment case was changed to match
the nonfragment case in whatwg/html#6399.

The outdated comments were discovered while investigating #2335.

Have you included adequate test coverage?

There is no functional change and no tests were added.

Does this change affect the behavior of either the C or the Java implementations?

Neither.

The first comment is incorrect. The fragment case was changed to match
the nonfragment case in whatwg/html#6399.

This introduced a bug that was noted by the second comment indicating
that the parser diverged from the standard to fix the bug. The standard
was subsequently fixed in whatwg/html#6455,
obviating the comment.
Copy link
Member

@flavorjones flavorjones left a comment

Choose a reason for hiding this comment

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

LGTM, please feel empowered to merge.

@stevecheckoway stevecheckoway merged commit 9727445 into sparklemotion:main Oct 13, 2021
@stevecheckoway stevecheckoway deleted the remove-comments branch October 13, 2021 20:58
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.

None yet

2 participants