@@ -129,10 +129,10 @@ partial interface CSS {
129
129
};
130
130
</pre>
131
131
132
- The {{PaintWorkletGlobalScope}} is the global execution context of the {{paintWorklet}} .
132
+ A {{PaintWorkletGlobalScope}} is a global execution context of the {{paintWorklet}} .
133
133
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.
136
136
137
137
<pre class='idl'>
138
138
[Global=(Worklet,PaintWorklet),Exposed=PaintWorklet]
@@ -143,9 +143,9 @@ interface PaintWorkletGlobalScope : WorkletGlobalScope {
143
143
</pre>
144
144
145
145
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.
149
149
<pre class='idl'>
150
150
dictionary PaintRenderingContext2DSettings {
151
151
boolean alpha = true;
@@ -203,10 +203,10 @@ Registering Custom Paint {#registering-custom-paint}
203
203
The <a>document</a> has a <a>map</a> of <dfn>document paint definitions</dfn> . Initially
204
204
this map is empty; it is populated when {{registerPaint(name, paintCtor)}} is called.
205
205
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.
208
208
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
210
210
map is empty; it is populated when <a>draw a paint image</a> is invoked by the user agent.
211
211
212
212
Instances of paint classes in the <a>paint class instances</a> map may be disposed and removed from
0 commit comments