On Tue, Oct 6, 2015 at 3:34 PM, Doug Schepers <schep...@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