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

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:

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

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

   <body>
     <x-foo>
       <some-stuff>
         Some text
       </some-stuff>
     </x-foo>
   </body>

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>?

-Boris

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