Re: [VE][html5] Confusing error message with div inside p

Jona Moß <[email protected]> Sun, 04 Jan 2015 15:17:16 +0100
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
>
> A <p> element was /intended/ to be in scope, but it
> was silently closed by the opening tag of the <div> element.
> the p element started with <p> was implicitly terminated by the <div> 
> tag, by HTML rules.
That explains my confusion, I didn't know this.
Now it all makes sense, and the error message is indeed correct.

Considering this example:

    <p>foo<div>bar</div></p>

Maybe a warning could be shown at the <div> tag, because it is valid, 
but probably not intended?
The error for the </p> tag would still be shown.

Jona