- From: Majid Valipour via GitHub <sysbot+gh@w3.org>
- Date: Thu, 27 Jun 2019 21:29:11 +0000
- To: public-houdini-archive@w3.org
So just to be clear. Is it enough that we do
A) expand global list for `AnimationWorkletGlobalScope` to be `Global=(AnimationWorklet,Worklet)`
```webidl
[Exposed=Worklet]
interface WorkletGlobalScope {};
[ Exposed=AnimationWorklet, Global=(AnimationWorklet, Worklet) ]
interface AnimationWorkletGlobalScope : WorkletGlobalScope {}
```
or do I also need to do
B) expand exposure set of `WorkletGlobalScope`
```webidl
[Exposed=(AnimationWorklet, Worklet)]
interface WorkletGlobalScope {};
[ Exposed=AnimationWorklet, Global=(AnimationWorklet, Worklet) ]
interface AnimationWorkletGlobalScope : WorkletGlobalScope {}
```
If I understand correctly the original comment suggests that (A) is sufficient because by making `AnimationWorkletGlobalScope` to also be a Worklet global then the exposure set `Exposed=AnimationWorklet` also becomes a subset of `Exposed=Worklet` which means we satisfy the quote requirement without having to change the exposure set of `WorkletGlobalScope`
--
GitHub Notification of comment by majido
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/907#issuecomment-506518700 using your GitHub account
Received on Thursday, 27 June 2019 21:29:13 UTC