Skip to content

Commit a11ddcc

Browse files
committed
[css-paint-api] Replace "the PaintWorkletGlobalScope" with "a PaintWorkletGlobalScope"
Fixes w3c#469.
1 parent ad7644f commit a11ddcc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

css-paint-api/Overview.bs

+9-9
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ partial interface CSS {
129129
};
130130
</pre>
131131

132-
The {{PaintWorkletGlobalScope}} is the global execution context of the {{paintWorklet}}.
132+
A {{PaintWorkletGlobalScope}} is a global execution context of the {{paintWorklet}}.
133133

134-
The {{PaintWorkletGlobalScope}} has a {{PaintWorkletGlobalScope/devicePixelRatio}}
135-
property which is identical to the Window.{{Window/devicePixelRatio}} property.
134+
A {{PaintWorkletGlobalScope}} has a {{PaintWorkletGlobalScope/devicePixelRatio}} property which is
135+
identical to the Window.{{Window/devicePixelRatio}} property.
136136

137137
<pre class='idl'>
138138
[Global=(Worklet,PaintWorklet),Exposed=PaintWorklet]
@@ -143,9 +143,9 @@ interface PaintWorkletGlobalScope : WorkletGlobalScope {
143143
</pre>
144144

145145
The {{PaintRenderingContext2DSettings}} contains the settings for the rendering context associated
146-
with the paint canvas. The {{PaintRenderingContext2DSettings}} provides a supported subset
147-
of canvas rendering context 2D settings. In the future, it may be extended to support color
148-
management in paint canvas.
146+
with the paint canvas. The {{PaintRenderingContext2DSettings}} provides a supported subset of canvas
147+
rendering context 2D settings. In the future, it may be extended to support color management in
148+
paint canvas.
149149
<pre class='idl'>
150150
dictionary PaintRenderingContext2DSettings {
151151
boolean alpha = true;
@@ -203,10 +203,10 @@ Registering Custom Paint {#registering-custom-paint}
203203
The <a>document</a> has a <a>map</a> of <dfn>document paint definitions</dfn>. Initially
204204
this map is empty; it is populated when {{registerPaint(name, paintCtor)}} is called.
205205

206-
The {{PaintWorkletGlobalScope}} has a <a>map</a> of <dfn>paint definitions</dfn>. Initially
207-
this map is empty; it is populated when {{registerPaint(name, paintCtor)}} is called.
206+
A {{PaintWorkletGlobalScope}} has a <a>map</a> of <dfn>paint definitions</dfn>. Initially this map
207+
is empty; it is populated when {{registerPaint(name, paintCtor)}} is called.
208208

209-
The {{PaintWorkletGlobalScope}} has a <a>map</a> of <dfn>paint class instances</dfn>. Initially this
209+
A {{PaintWorkletGlobalScope}} has a <a>map</a> of <dfn>paint class instances</dfn>. Initially this
210210
map is empty; it is populated when <a>draw a paint image</a> is invoked by the user agent.
211211

212212
Instances of paint classes in the <a>paint class instances</a> map may be disposed and removed from

0 commit comments

Comments
 (0)