Skip to content

Commit 2b7a93b

Browse files
committed
[css-paint-api] Specify that we have no intrinsic dimensions at the moment, will be added in a future level of the spec.
1 parent 19cdafc commit 2b7a93b

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

css-paint-api/Overview.bs

+13-6
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ Note: In a future version of the spec, the author may be able to set an option t
160160
to render 3D effects. There are complexities in setting up a WebGL rendering context to take the
161161
{{Geometry}} and {{StylePropertyMap}} as inputs.
162162

163-
Issue(w3c/css-houdini-drafts#31): Allow author to specify the intrinsic size.
164-
165163
Paint Notation {#paint-notation}
166164
================================
167165

@@ -231,9 +229,6 @@ If a <<paint()>> function for a fragment is <a>paint-invalid</a> and the fragmen
231229
visual viewport, then user agent <em>must</em> <a>draw a paint image</a> for the current frame. The
232230
user agent <em>may not</em> defer the <a>draw a paint image</a> operation until a subsequent frame.
233231

234-
The <a>draw a paint image</a> function should be invoked by the user agent during the <a>object size
235-
negotiation</a> algorithm which is responsible for rendering an <<image>>.
236-
237232
Note: The user agent may choose to <a>draw a paint image</a> for <<paint()>> functions not within
238233
the visual viewport.
239234

@@ -248,7 +243,19 @@ Note: The user agent may choose to <a>draw a paint image</a> for <<paint()>> fun
248243
a paint image</a> and display the result on the current frame.
249244
</div>
250245

251-
The {{Geometry}} object represents the geometry of the image that the author should draw.
246+
The <a>draw a paint image</a> function should be invoked by the user agent during the <a>object size
247+
negotiation</a> algorithm which is responsible for rendering an <<image>>.
248+
249+
For the purposes of the <a>object size negotiation</a> algorithm, the paint image has no
250+
<a>intrinsic dimensions</a>.
251+
252+
Note: In a future version of the spec, the author may be able to specify the <a>intrinsic
253+
dimensions</a> of the paint image. This will probably be exposed as a callback allowing the
254+
author to define static <a>intrinsic dimensions</a> or dynamically updating the <a>intrinsic
255+
dimensions</a> based on computed style and geometry changes.
256+
257+
The {{Geometry}} object represents the geometry of the image that the author should draw. This is
258+
the <a>concrete object size</a> given by the user agent.
252259

253260
<pre class='idl'>
254261
[Exposed=Worklet]

0 commit comments

Comments
 (0)