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 rendering of void elements (aka unclosed) #39

Merged
merged 2 commits into from
Apr 14, 2020
Merged

fix rendering of void elements (aka unclosed) #39

merged 2 commits into from
Apr 14, 2020

Conversation

jirutka
Copy link

@jirutka jirutka commented Apr 8, 2020

In HTML5s, self-closing are only foreign elements (from MathML and SVG namespace). What you call as unclosed elements is called void elements in HTML5 spec.

https://html.spec.whatwg.org/multipage/syntax.html#elements-2

In HTML5s, self-closing are only foreign elements (from MathML and SVG
namespace). What you call as unclosed elements is called void elements
in HTML5 spec.

https://html.spec.whatwg.org/multipage/syntax.html#elements-2
@taoqf
Copy link
Owner

taoqf commented Apr 9, 2020

Thanks.
I believe this is a big change, are these void elements supported by all browsers?

@taoqf taoqf merged commit 329aa74 into taoqf:master Apr 14, 2020
@jirutka jirutka deleted the fix-unclosed branch April 26, 2020 16:13
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