Skip to content

Commit 33020a5

Browse files
[css-view-transitions-1] Clarify that root snapshot captures more than just the element. #9138 (#9152)
Co-authored-by: Khushal Sagar <63884798+khushalsagar@users.noreply.github.com>
1 parent 8c953b4 commit 33020a5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,9 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
16351635

16361636
1. If |element| is the [=document element=], then:
16371637

1638-
1. Render the region of the |element| and the [=/document=]'s [=Document/top layer=] that intersects the [=snapshot containing block=],
1638+
1. Render the region of document
1639+
(including its [=canvas background=] and any [=Document/top layer=] content)
1640+
that intersects the [=snapshot containing block=],
16391641
on a transparent canvas the size of the [=snapshot containing block=],
16401642
following the [=capture rendering characteristics=], and these additional characteristics:
16411643

@@ -1663,7 +1665,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
16631665
</figcaption>
16641666
</figure>
16651667

1666-
1. Return the canvas as an image.
1668+
1. Return this canvas as an image.
16671669
The natural size of the image is equal to the [=snapshot containing block=].
16681670

16691671
1. Otherwise:
@@ -1673,7 +1675,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
16731675
over an infinite transparent canvas,
16741676
following the [=capture rendering characteristics=].
16751677

1676-
1. Return the portion of the canvas that includes |element|'s [=ink overflow rectangle=] as an image.
1678+
1. Return the portion of this canvas that includes |element|'s [=ink overflow rectangle=] as an image.
16771679
The [=natural dimensions=] of this image must be those of its [=principal box|principal=] [=border box=],
16781680
and its origin must correspond to that [=border box=]'s origin,
16791681
such that the image represents the contents of this [=border box=]

0 commit comments

Comments
 (0)