@@ -415,11 +415,10 @@ Note: The initial state of the rendering context is set inside the <a>set bitmap
415
415
Drawing an image {#drawing-an-image}
416
416
====================================
417
417
418
- If a <<paint()>> function for a fragment is <a>paint-invalid</a> and the fragment is within the
419
- visual viewport, then user agent <em> must</em> <a>draw a paint image</a> for the current frame. The
420
- user agent <em> may not</em> defer the <a>draw a paint image</a> operation until a subsequent frame.
418
+ If a <<paint()>> function for a <a>box</a> is <a>paint-invalid</a> and the <a>box</a> is inside the
419
+ visual viewport, then user agent <em> must</em> <a>draw a paint image</a> for the current frame.
421
420
422
- Note: The user agent may choose to <a>draw a paint image </a> for <<paint()>> functions not within
421
+ Note: The user agent can optionally defer drawing images which are <a>paint-invalid </a> and outside
423
422
the visual viewport.
424
423
425
424
<div class="example">
@@ -429,11 +428,11 @@ Note: The user agent may choose to <a>draw a paint image</a> for <<paint()>> fun
429
428
element.styleMap.set('--custom-prop-invalidates-paint' , 42);
430
429
});
431
430
</pre>
432
- And the <code> element</code> is inside the visual viewport, the user agent <em> must </em> <a>draw
433
- a paint image</a> and display the result on the current frame.
431
+ And the <code> element</code> is inside the visual viewport, the user agent is required to
432
+ <a>draw a paint image</a> and display the result for the current frame.
434
433
</div>
435
434
436
- The <a>draw a paint image</a> function should be invoked by the user agent during the <a>object size
435
+ The <a>draw a paint image</a> function is invoked by the user agent during the <a>object size
437
436
negotiation</a> algorithm which is responsible for rendering an <<image>> .
438
437
439
438
For the purposes of the <a>object size negotiation</a> algorithm, the paint image has no
0 commit comments