W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [shadow-styling] alternative idea.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 10 Feb 2014 12:48:21 -0800
Message-ID: <CAAWBYDBCT+Sn0-t8uWrgB=jyUJcX53Fear1u+EBpnOcRa=aZ7Q@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Andrew Fedoniouk <news@terrainformatica.com>, "www-style@w3.org" <www-style@w3.org>
On Mon, Feb 10, 2014 at 11:55 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Feb 10, 2014, at 10:52 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>>> As soon as you will allow shadow dom styling expect
>>> bunch of rules like these:
>>> body[theme=blue] input[type=date] -> table th.weekday { color:blue }
>>> body[theme=blue] input[type=date] -> table td.today { background:blue }
>>> body[theme=blue] input[type=date]:focus -> table td.today { background:red }
>>> ...
>> I have no idea what these mean.  Are you using some weird custom
>> syntax?  Is "->" supposed to mean "/shadow-all" or something?
> It seems you DO have an idea of what those mean, since that is what I took it to mean too (or possibly just /shadow, if it matters to this). I believe "->" was even proposed earlier in the general discussion as an alternative syntax.
> So, if we make this assumption, do you have any response to Andrew's point?

No, because I'm not sure what his point is.

(An arrow *was* discussed as an *indicator* of named combinators, but
not as a combinator itself.  I've been burned in the past by people
inventing their own private syntaxes and trying to use them in
discussion, and I assume they work in a way different from what they
think they do.)

Received on Monday, 10 February 2014 20:49:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC