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:05:32 -0400
Message-ID: <CADC=+jf7GC0u9Y37EZnu2C3OBd+zAzeXkhUe4H27_f8XZ-_8tw@mail.gmail.com>
To: Řyvind Stenhaug <oyvinds@opera.com>
Cc: www-style@w3.org, Rudolph Gottesheim <r.gottesheim@loot.at>
Several of us had issues with ! which we thought ! meant not as it does in
pretty much every language.

Similarly $ was recently rejected because it is being used in new CSS
variables.

It has also been suggested that :has() (see jquery and past posts) would
mostly avoid this problem by adding no new single tokens to the main
selector, keeping the search in the right direction and being useful
multiply in the same selector.
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:06:06 GMT

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