Skip to content

[css-paint-api] Use of "the" to refer to PaintWorkletGlobalScope is misleading #469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bzbarsky opened this issue Sep 19, 2017 · 0 comments

Comments

@bzbarsky
Copy link

In https://drafts.css-houdini.org/css-paint-api-1/#paint-worklet there are normative sentences like:

The PaintWorkletGlobalScope is the global execution context of the paintWorklet.

and

The PaintWorkletGlobalScope has a devicePixelRatio property which is identical to the Window.devicePixelRatio property.

In https://drafts.css-houdini.org/css-paint-api-1/#concepts there is a sentence like this:

A paint definition is a struct which describes the information needed by the PaintWorkletGlobalScope [...]

and in https://drafts.css-houdini.org/css-paint-api-1/#registering-custom-paint a sentence like this:

The PaintWorkletGlobalScope has a map of paint class instances.

All of these make it sound like there is only one PaintWorkletGlobalScope. This is later contradicted by normative requirements in https://drafts.css-houdini.org/css-paint-api-1/#drawing-an-image step 12.

I believe all of those should be using "a", not "the". Furthermore, "the global execution context" should probably be "a global execution context" or something...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants