[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Carlisle <davidc@n...>
  • To: Andrew Welch <andrew.j.welch@g...>
  • Date: Sat, 18 Dec 2010 17:14:12 +0000

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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member