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

Re: Shadow DOM: Hat and Cat -- if that's your real name.

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 5 Feb 2014 09:44:14 +1300
Message-ID: <CAOp6jLbLPvqYt=B91Pbm64aUBcDtF3zER2sz8LbBnBeG4K+FHg@mail.gmail.com>
To: Sylvain Galineau <galineau@adobe.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "Edward O'Connor" <eoconnor@apple.com>, www-style list <www-style@w3.org>
An expedient approach would be to allow selectors to penetrate the shadow
DOM by default and in a future spec revision add the ability for component
authors to opt out of this, along with introducing other features to
support custom styling.

The only argument I can think of against that is that the default is
"unsafe" for component authors, who will unexpectedly find themselves in a
deep hole later when they can't change anything their component without
breaking pages. But that's not too bad; it's certainly no worse than the
status quo, so at worst it's a missed opportunity.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w
Received on Tuesday, 4 February 2014 20:44:41 UTC

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