You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't implement a validator, and as such we don't implement the content model constraints. The parser only reports parse errors, which are explicitly called out in the Parsing HTML documents section. A quick skim makes it look like that shouldn't produce any parse errors. Implementing an actual validator is a large project to undertake, and really something out of scope here.
I would expect an error like: "Element ul not allowed as child of element ul in this context." This is the error reported by W3.org's validator.
The spec states only
<li>
tags are valid children of<ul>
.The text was updated successfully, but these errors were encountered: