W3C home > Mailing lists > Public > www-style@w3.org > July 2003

Re: attr() construct in generated content and namespaces

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 26 Jul 2003 23:40:01 -0500
Message-ID: <3F2357A1.20207@mit.edu>
To: www-style@w3.org

L. David Baron wrote:
> I think the general principle there is that you should need to use namespaces in
> order to end up with any of the others (either through the namespace
> awareness described in css3-namespace or through attr(xlink\:type) in
> non-namespace-aware CSS).

Excellent; that makes sense.  One niggling point.  What about the 
rendering of:

<div xmlns:xlink="whatever"
      xmlns:myNS="somethingElse"
      xlink:type="convoluted"
      myNS:type="confusing"
      type="confounding" />

styled with:

div::before { content: attr(*|type) }

?  Should that be considered an error causing the declaration to be dropped?
Received on Sunday, 27 July 2003 00:40:03 GMT

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