- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 6 Mar 2014 08:45:01 -0800
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: www-style <www-style@w3.org>
On Thu, Mar 6, 2014 at 4:05 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > On 05/03/2014 19:29, Tab Atkins Jr. wrote: >> >> Sounds good, I've done so. > > > In Mercurial revision 8b114fb059e7: > >> <namespace-attr> = [ <na-prefix>? '|' ]? <na-name> >> <na-prefix> = <ident> | '*' > > >> If the <na-prefix> is omitted, the selector only matches attributes >> in no namespace. > > > Does this apply to both ::attr(href) and ::attr(|href) ? The current spec > text is unclear. Yes, read the text literally. ^_^ >> If the <na-name> is an <ident>, the selector matches attributes with >> that name. If the <na-name> is a * character, the selector matches >> any attribute. > > > I would replace "any attribute" with "attributes with any name". > ::attr(ns|*) and ::attr(|*) are still subject to namespace filtering. That seems to apply to the first clause, too, right? What I was trying to do with this structure is set up a filter in each of the paragraphs, one based on namespace and one based on name, and then combine them in the following paragraph. ~TJ
Received on Thursday, 6 March 2014 16:45:50 UTC