Re: [w3c/webcomponents] Shadow tree encapsulation and Element Timing (#816)

We discussed this briefly during the conference call this week. Apparently @tkent-google has suggested two alternatives:
1. Exposing `Performance` on `ShadowRoot`
2. Add a boolean argument to `attachShadow`'s options to specify whether element timing would be exposed or not

I objected to (2) since it breaks the encapsulation of shadow roots.

Another alternative I suggested would be making `PerformanceObserver` and other functions on `Performance` take a list of shadow roots as an argument as we're planning to do for selection (see issue #79).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/816#issuecomment-497508078

Received on Thursday, 30 May 2019 22:28:31 UTC