W3C home > Mailing lists > Public > www-style@w3.org > February 2006

Re: [BULK] - Re: [XHTML2] Spirit of "1.1.3. XHTML 2 and Presentation" (PR#7759)

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 11 Feb 2006 21:36:37 +0100
To: www-style@w3.org
Message-ID: <op.s4tsvbhn64w2qv@id-c0020.oslo.opera.com>

On Sat, 11 Feb 2006 21:23:10 +0100, Paul Mitchell  
<paul@paul-mitchell.me.uk> wrote:
>> As for <style>, supposedly this works:
>>
>> <?xml-stylesheet href="#xxx" type="text/css"?>
>> <root>
>> <foo xml:id="xxx">
>> bar { background: green; }
>> </foo>
>> <bar>test</bar>
>> </root>
>
> That doesn't looks correct to me. #xxx doesn't exist at the time the  
> processing instruction is encountered.

By that logic,

  <root ...>
   <xh:style> #foo { background:lime } </xh:style>
   <bar xml:id="foo">Test</bar>
  </root>

... would not work either.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 11 February 2006 20:36:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:43 GMT