W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2015

Re: Call for Consensus: Publish First Public Working Draft of FindText API, respond by 14 October

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 6 Oct 2015 15:38:35 -0700
Message-ID: <CAAWBYDATg=kzsdjHTZ3gN25NMu5+0ob4U12UC2dpfUSn4_Vdow@mail.gmail.com>
To: Doug Schepers <schepers@w3.org>
Cc: Elliott Sprehn <esprehn@chromium.org>, Frederick Hirsch <w3c@fjhirsch.com>, public-webapps <public-webapps@w3.org>, W3C Public Annotation List <public-annotation@w3.org>
On Tue, Oct 6, 2015 at 3:34 PM, Doug Schepers <schepers@w3.org> wrote:
> Hi, Eliott–
>
> Good question.
>
> I don't have a great answer yet, but this is something that will need to be
> worked out with Shadow DOM, not just for this spec, but for Selection API
> and others, as well as to CSS, which has some Range-like styling.

CSS doesn't care about this, because it doesn't expose its selections
to the wider DOM; it can freely style whatever it wants, including
ranges that span into shadows.

This is indeed equivalent to the problem that the generic Selection
API has with Shadow DOM, tho.

~TJ
Received on Tuesday, 6 October 2015 22:39:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:58 UTC