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

On 11/11/15 3:51 AM, Ryosuke Niwa wrote:
> Oh, I see.  I was conceptualizing that we only store data on parent elements as that's how WebKit's styling system works but storing font face data on text nodes work as well.

OK, so the important part here is that there is a separate font face set 
attached to every "node scope", right?

Have you examined the performance characteristics of this?  Font face 
sets do a bunch of caching, and it sounds like it will all need to be 
redone on a per-shadow-tree basis, so somewhere between "a few" and 
"hundreds" of times per page, no?

-Boris

Received on Wednesday, 11 November 2015 15:24:02 UTC