[VE][html5] Confusing error message with div inside p
Jona Moß <[email protected]> Sun, 04 Jan 2015 00:18:15 +0100
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
Hello,
when you validate this code:
<p>
<div>foo</div>
</p>
You will get the following error message: " No p element in scope but a
p end tag seen."
I find this message very confusing as there /is/ a p element in scope. A
less confusing message could be "invalid div element inside p element".
Thanks
Jona Moß