Skip to content

Commit 64f9b26

Browse files
committed
[css-paint-api] Fix text wrapping.
1 parent 36f9c91 commit 64f9b26

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

css-paint-api/Overview.bs

+6-6
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ Note: The user agent can optionally defer drawing images which are <a>paint-inva
451451
</div>
452452

453453
The <a>draw a paint image</a> function is invoked by the user agent during the <a>object size
454-
negotiation</a> algorithm which is responsible for rendering an <<image>>,
455-
with |concreteObjectSize| set to the <a>concrete object size</a> of the <a>box</a>.
454+
negotiation</a> algorithm which is responsible for rendering an <<image>>, with |concreteObjectSize|
455+
set to the <a>concrete object size</a> of the <a>box</a>.
456456

457457
For the purposes of the <a>object size negotiation</a> algorithm, the paint image has no
458458
<a>intrinsic dimensions</a>.
@@ -492,10 +492,10 @@ with), given |concreteObjectSize| it <em>must</em> run the following steps:
492492
1. Let |paintFunction| be the <<paint()>> function on the |box| which the user agent wants to
493493
draw.
494494

495-
2. If the <a>paint valid flag</a> for the |paintFunction| is <a>paint-valid</a>,
496-
and the previous invocation had the same |concreteObjectSize|, the user agent
497-
<em>may</em> use the drawn image from the previous invocation. If so it <em>may</em> abort
498-
all these steps and use the previously drawn image.
495+
2. If the <a>paint valid flag</a> for the |paintFunction| is <a>paint-valid</a>, and the
496+
previous invocation had the same |concreteObjectSize|, the user agent <em>may</em> use the
497+
drawn image from the previous invocation. If so it <em>may</em> abort all these steps and
498+
use the previously drawn image.
499499

500500
Note: The user agent for implementation reasons may also continue with all these steps in
501501
this case. It can do this every frame, or multiple times per frame.

0 commit comments

Comments
 (0)