Re: CSS selectors and xml:id

I like the concept of abstraction and I feel it adds to the CSS spec,
but I also believe that there is a need for examples, specifically and
example that lists xml:id as an ID for the purposes of CSS.

Orion Adrian

On 5/4/05, Chris Lilley <chris@w3.org> wrote:
> 
> On Wednesday, April 27, 2005, 10:08:09 PM, Bert wrote:
> 
> 
> BB> On Wed, Apr 27, 2005 at 03:31:21PM -0400, Paul Grosso wrote:
> 
> >> Specifically, would it make sense for the CSS specification
> >> to state explicitly that attributes named xml:id will be
> >> treated as IDs when styling XML documents?
> 
> Yes, clearly that bit of direction would be helpful.
> 
> BB> I think it is better to keep the language abstract,
> 
> I fail to understand the phobia that seems to exist about mentioning the
> XML specifications. Is CSS supposed to handle XML, or not?
> 
> BB> because there are no XML formats that allow xml:id yet,
> 
> This is clearly untrue.
> 
> BB> let alone formats that are supported by CSS UAs,
> 
> Also untrue, as Paul already mentioned
> 
> BB>  so we won't be able to test such a statement.
> 
> Clearly false, as Anne already made some test cases and there are
> already implementations that pass them.
> 
> BB> And that would keep CSS 2.1 from exiting CR.
> 
> No, it wouldn't. So, please add specific language to CSS 2.1 to state
> explicitly that xml:id is treated as ID for the purpose of the #
> selector.
> 
> Preferably before last call, although I can send in a last call comment
> if you would prefer.
> 
> --
>  Chris Lilley                    mailto:chris@w3.org
>  Chair, W3C SVG Working Group
>  W3C Graphics Activity Lead
> 
>

Received on Thursday, 5 May 2005 06:21:19 UTC