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: Mon, 20 Feb 2006 06:33:00 +0100
To: "Bert Bos" <bert@w3.org>
Cc: www-style@w3.org
Message-ID: <op.s49axxn664w2qv@id-c0020.oslo.opera.com>

>> I've updated the text[1] with an overview of the unsolved problems.
>>
>> [1] http://www.w3.org/Style/styling-XML#Embedded
>> [2] http://www.w3.org/TR/xml-stylesheet

Regarding [1], at least point 1, 3 and 6 are generic problems. It is also  
undefined in HTML 4.01/XHTML 1.x/XHTML 2.0 what happens for:

  <xh:style>
   <test> body { background:red } </test>
  </xh:style>

... for example. These problems are addressed in (X)HTML5 though:

  <http://whatwg.org/specs/web-apps/current-work/#the-style>

I agree that these problems should be solved though. There should probably  
some generic algorithm for <style> (and <script>) that can be reused by  
languages like SVG, XHTML, the <?xml-stylesheet?> PI, MathML, etc.

What is also not clarified by the draft is what happens when you point to  
a document using a fragment identifier and that in fact the whole document  
is a CSS or XSLT style sheet... Should it not be applied or should the  
fragment identifier be ignored in that case? Et cetera...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 20 February 2006 05:33:26 GMT

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