On 18/12/2010 16:03, Andrew Welch wrote:
> Does the problem of an empty element with a style that causes
> everything which follows it to have that style been solved?
>
> For example currently with
>
> foo<div style="font-weigh:bold"/>bar
it's been solved by specifying that as correct behaviour. (Not the
choice I'd have made) In particular, the element is not empty.
<br/> parses as <br> and both are conforming.
<div/> is not conforming, but similarly parses as <div>
so the above parses as
foo<div style="font-weigh:bold">bar
and bar is inside the div, so styled.
David