Skip to content

Commit 8c7e701

Browse files
committed
[css-position-4][editorial] Move document painting to a separate algo.
1 parent d1f5f9f commit 8c7e701

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

css-position-4/Overview.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,19 @@ and contains the root element. Initially, the viewport is anchored
7878
with its top left corner at the canvas origin.
7979

8080
<div algorithm>
81-
To <dfn>paint a stacking context</dfn>
82-
given a [=document=], [=element=], or [=box=] |root|,
81+
To <dfn>paint a document</dfn>,
82+
given a document |root|
8383
and an infinite canvas |canvas|:
8484

85-
1. If |root| is a [=document=],
86-
[=paint a stacking context=] given |root|'s root element
85+
1. [=Paint a stacking context=] given |root|'s root element
8786
and |canvas|,
8887
then return |canvas|.
88+
</div>
89+
90+
<div algorithm>
91+
To <dfn>paint a stacking context</dfn>
92+
given an [=element=] or [=box=] |root|,
93+
and an infinite canvas |canvas|:
8994

9095
1. If |root| is an [=element=],
9196
[=paint a stacking context=] given |root|'s [=principal box=]

0 commit comments

Comments
 (0)