W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: Selecting the parent of an element

From: Brian Kardell <bkardell@gmail.com>
Date: Fri, 7 Oct 2011 07:07:12 -0400
Message-ID: <CADC=+jeWNHHUo9vB69o4Kz=tw5XPqC+Oug9dZc-UpiXf4+jQkA@mail.gmail.com>
To: Řyvind Stenhaug <oyvinds@opera.com>
Cc: www-style@w3.org, Rudolph Gottesheim <r.gottesheim@loot.at>
I think :matches would let you do that as specified now, right?
On Oct 7, 2011 5:02 AM, "Řyvind Stenhaug" <oyvinds@opera.com> wrote:
> On Fri, 07 Oct 2011 08:46:29 +0200, Rudolph Gottesheim
> <r.gottesheim@loot.at> wrote:
>
>> Has = been proposed yet? Would that conflict with any other syntax? I
>> think it would kind of make some sense: "This *IS* the element I want to
>> target"
>>
>> form =.form-row input:focus { outline: solid 1px #ccc; }
>
> I note that although = usually parses as a DELIM per the
> forward-compatible syntax, the general sibling combinator can change that;

> "E~=F" parses as "IDENT INCLUDES IDENT". It's not clear to me if this is a

> problem.
>
> --
> Řyvind Stenhaug
> Core Norway, Opera Software ASA
>
Received on Friday, 7 October 2011 11:07:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT