On Monday 2008-03-10 16:58 +0100, Erik Dahlström wrote: > http://www.w3.org/TR/2008/WD-css3-namespace-20080215/. Please let us know >> Some contexts may allow the use of an asterisk (*, U+002A) as a >> wildcard prefix to indicate a name in any namespace, including no >> namespace. > > What exactly does "contexts" mean here? Perhaps an example of a context > that allows asterisks, and one that doesn't would make it easier to > understand. If this is defined by the host language, please say so > explicitly. It is defined by the host language. For example, in selectors, the wildcard is allowed: *|p, q[*|title] /* represents a p element in any namespace (including none) or a q element in the default namespace with a title attribute in any namespace (including none) */ but in the attr function it is not allowed (since it's not clear how it would behave if there were more than one attribute to choose from): p::before { content: attr(title); /* legal declaration */ content: attr(*|title); /* syntax error; declaration dropped */ } -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/Received on Monday, 10 March 2008 17:08:02 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:02 GMT