Skip to content

Commit 50efe0f

Browse files
committed
[css-paint-api] Build cleanly.
1 parent 607becb commit 50efe0f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

css-paint-api/Overview.bs

+7-6
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,11 @@ called, the user agent <em>must</em> run the following steps:
253253

254254
20. Let |definition| be a new <a>paint definition</a> with:
255255

256-
- <a>class constructor</a> being |paintCtor|.
256+
- [=paint definition/class constructor=] being |paintCtor|.
257257

258258
- <a>paint function</a> being |paint|.
259259

260-
- <a>constructor valid flag</a> being <b>true</b>.
260+
- [=paint definition/constructor valid flag=] being <b>true</b>.
261261

262262
- <a for="paint definition">input properties</a> being |inputProperties|.
263263

@@ -586,15 +586,16 @@ When the user agent wants to <dfn>invoke a paint callback</dfn> given |name|, |i
586586
5. Let |paintInstance| be the result of <a>get</a> |paintClassInstanceMap|[|name]|. If
587587
|paintInstance| is null, run the following steps:
588588

589-
1. If the <a>constructor valid flag</a> on |definition| is false, let the image output be an
589+
1. If the [=paint definition/constructor valid flag=] on |definition| is false, let the image output be an
590590
<a>invalid image</a> and abort all these steps.
591591

592-
2. Let |paintCtor| be the <a>class constructor</a> on |definition|.
592+
2. Let |paintCtor| be the [=paint definition/class constructor=] on |definition|.
593593

594594
3. Let |paintInstance| be the result of <a>Construct</a>(|paintCtor|).
595595

596-
If <a>construct</a> throws an exception, set the |definition|'s <a>constructor valid
597-
flag</a> to false, let the image output be an <a>invalid image</a> and abort all these
596+
If <a>construct</a> throws an exception,
597+
set the |definition|'s [=paint definition/constructor valid flag=] to false,
598+
let the image output be an <a>invalid image</a> and abort all these
598599
steps.
599600

600601
4. <a for=map>Set</a> |paintClassInstanceMap|[|name|] to |paintInstance|.

0 commit comments

Comments
 (0)