Re: A New Element

Not bad!
The element to be closed would be the last opened non-void element, I suppose.
It's easy to determine

<div>
<p>
Hello world
<img src="hello.jpg"> <!-- void; not to be closed -->
</*> <!-- closes <p> -->
</*> <!-- closes <div> -->

@Leo: is this what you had in mind?

Received on Wednesday, 20 May 2015 09:27:01 UTC