We can only gate properly a JavaScript API by throwing a NotAllowed error. Unfortunately there is no mechanism or previous examples where a CSS is "gated" behind a Permission Policy and it raises questions on how such implementation would work (how to tell developers that the CSS MQs are not evaluated because of the policy control)
We can only gate properly a JavaScript API by throwing a NotAllowed error. Unfortunately there is no mechanism or previous examples where a CSS is "gated" behind a Permission Policy and it raises questions on how such implementation would work (how to tell developers that the CSS MQs are not evaluated because of the policy control)
Preview | Diff