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

fix(parser/html): add param to void elements list #4020

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

dyc3
Copy link
Contributor

@dyc3 dyc3 commented Sep 21, 2024

Summary

param is one of the void elements a part of HTML 4 originally (I think?), retained for backwards compatibility in HTML 5.

See: https://www.w3.org/TR/2011/WD-html5-author-20110809/the-param-element.html

Test Plan

Tested manually, and against a prettier test that uses that element. Also added a parser snapshot test.

@github-actions github-actions bot added A-Parser Area: parser L-HTML Language: HTML labels Sep 21, 2024
Copy link

codspeed-hq bot commented Sep 21, 2024

CodSpeed Performance Report

Merging #4020 will not alter performance

Comparing 09-20-fix_parser_html_add_param_to_void_elements_list (617285d) with main (29266a0)

Summary

✅ 107 untouched benchmarks

@dyc3 dyc3 force-pushed the 09-20-fix_parser_html_add_param_to_void_elements_list branch from 015953d to 617285d Compare September 21, 2024 10:40
@dyc3 dyc3 merged commit 2035efe into main Sep 21, 2024
16 checks passed
@dyc3 dyc3 deleted the 09-20-fix_parser_html_add_param_to_void_elements_list branch September 21, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Parser Area: parser L-HTML Language: HTML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant