W3C home > Mailing lists > Public > www-style@w3.org > November 2015

Re: [css-scoping] Scoping @font-face defined in shadow DOM

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 10 Nov 2015 21:28:48 -0500
To: www-style@w3.org
Message-ID: <5642A7E0.9000402@mit.edu>
On 11/10/15 9:22 PM, Ryosuke Niwa wrote:
> What I mean is that @font-face rules inside a shadow DOM should not affect what fonts are used inside another shadow DOM.

So just to make sure I understand, if I have this light DOM:

     <x-foo>Some text</x-foo>

and x-foo has a shadow DOM attached that makes the flattened tree look 
kinda like this:

         Some text

then should @font-face rules from inside that shadow DOM affect "Some 
text"?  What if "Some text" were inside a <span> inside the <x-foo>?

Received on Wednesday, 11 November 2015 02:29:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC