You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -112,10 +111,6 @@ Note: In a future version of the spec, the author may be able to set an option t
112
111
113
112
Issue(w3c/css-houdini-drafts#31): Allow author to specify the intrinsic size.
114
113
115
-
When the <dfn method for=RenderWorkletGlobalScope>unregisterPaint(<var>name</var>)</dfn> method is called, the user agent <em>must</em> run the following steps:
116
-
1. Remove the key-value pair associated with the |name| key in the <b>paint name to input properties map</b> of the associated <a>document</a>.
117
-
2. Remove the key-value pair associated with the |name| key in the <b>name to paint instance map</b> of the {{RenderWorkletGlobalScope}}.
118
-
119
114
Paint Notation {#paint-notation}
120
115
================================
121
116
@@ -179,7 +174,7 @@ the <a>scratch bitmap</a> such that the user agent can subsequently draw onto a
179
174
correct resolution. This also allows user agents to re-use the same output of the <a>scratch
180
175
bitmap</a> repeatably while the visual viewport is being zoomed for example.
181
176
182
-
When the user agent is to <dfn>create a {{PaintRenderingContext2D}} object</dfn> for a given
177
+
When the user agent is to <dfn>create a PaintRenderingContext2D object</dfn> for a given
183
178
|width|, |height| and |overflowOffset| it <em>must</em> run the following steps:
184
179
1. Create a new {{PaintRenderingContext2D}}.
185
180
2. <a>Set bitmap dimensions</a> for the context's <a>scratch bitmap</a> to |width| and |height|.
@@ -227,7 +222,7 @@ When the user agent wants to <dfn>draw an image</dfn> of a <<paint()>> for a <va
227
222
Note: User agents may have to compute overflow before entering their paint phase in order to determine which fragments to paint (overflow changes what could be seen on the output device).
228
223
User agents may opt into running the steps up to this point, to determine overflow, then continuing later to determine the drawn image for the fragments which need painting.
229
224
230
-
7. Let <var>renderingContext</var> be the result of <a>create a {{PaintRenderingContext2D}} object</a> given:
225
+
7. Let <var>renderingContext</var> be the result of <a>create a PaintRenderingContext2D object</a> given:
231
226
- "overflowOffset" - The logical offset for the <a>scratch bitmap</a> specified by |overflow|.
232
227
- "width" - The width of the |fragment| plus the additional width specified by |overflow|.
233
228
- "height" - The height of the |fragment| plus the additional height specified by |overflow|.
0 commit comments