W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: Shadow tree style isolation primitive

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 5 Feb 2015 10:07:27 +1100
Message-ID: <CAAWBYDCOmz4_94Gj29RXLhRxVQ7NtiqCeAUrWyPkLzP-QSsDCw@mail.gmail.com>
To: Olli Pettay <olli@pettay.fi>
Cc: Dimitri Glazkov <dglazkov@google.com>, Brian Kardell <bkardell@gmail.com>, "www-style@w3.org" <www-style@w3.org>, WebApps WG <public-webapps@w3.org>
On Wed, Feb 4, 2015 at 11:36 PM, Olli Pettay <olli@pettay.fi> wrote:
> Why should even !important work if the component wants to use its own
> colors?

Because that's how !important usually works.  If the author has
progressed to the point of doing !important, we should assume that
they know what they're doing and let it work.  At the end of the day,
it should be possible for the outer page to have some way of styling
any part of a non-sealed (a la inputs, etc) shadow DOM.  Anyone
claiming this isn't necessary should be sentenced to a year of doing
web dev with jQuery components and hostile clients.

~TJ
Received on Wednesday, 4 February 2015 23:08:16 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC