W3C home > Mailing lists > Public > public-appformats@w3.org > August 2006

Re: [XBL2] Problems with 3.3: Loading Style Sheets

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 18 Aug 2006 10:15:18 +1000
Message-ID: <44E50696.9020501@lachy.id.au>
To: Ian Hickson <ian@hixie.ch>
CC: public-appformats@w3.org

Ian Hickson wrote:
> On Thu, 17 Aug 2006, Lachlan Hunt wrote:
>> 2. The spec fails to explicitly describe how a style element that is in 
>> error is to be treated for both inline and external style sheets.
> 
> If a style _element_ is in error, it is ignored. However, having bad 
> children doesn't make it in error, it makes its children in error.

That seems contradictory to what the spec says.

| A style element labelled as containing a style sheet in a non-XML
| language yet containing element nodes is in error.

I interpret that as meaning the following style element, which does 
contain an element node, is in error:

<style>
   div { background: red; }
   <foo/>
</style>

If I am misinterpreting the spec, could you please provide some 
clarification?

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Friday, 18 August 2006 00:15:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:20 GMT