Skip to content

Commit a3b68e8

Browse files
authored
[css-view-transitions-1] Added authoring guidance re image-pair vs group (#12344)
* [css-view-transitions-1] Added authoring guidance re image-pair vs group
1 parent 3d40348 commit a3b68e8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,10 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
731731
This element exists to provide ''isolation: isolate'' for its children,
732732
and is always present as a [=tree/child=] of each ''::view-transition-group()''.
733733
This isolation allows the image pair to be blended with non-normal blend modes
734-
without affecting other visual outputs.
734+
without affecting other visual outputs. As such, the developer would typically not
735+
need to add custom styles to the ''::view-transition-image-pair()'' pseudo-element.
736+
Instead, a typical design would involve styling the ''::view-transition-group()'',
737+
''::view-transition-old()'', and ''::view-transition-new()'' pseudo-elements.
735738
</div>
736739

737740
### View Transition Old State Image: the ''::view-transition-old()'' pseudo-element ### {#::view-transition-old}
@@ -1990,6 +1993,10 @@ This should be feasible since access to this data should already be prevented in
19901993

19911994
This appendix is <em>informative</em>.
19921995

1996+
<h3 id="changes-since-2024-03-28">
1997+
Changes from <a href="https://www.w3.org/TR/2024/CRD-css-view-transitions-1-20240328/">2024-03-28 Candidate Recommendation Draft</a>
1998+
* Add a non-normative note to explain that ''::view-transition-image-pair()'' would typically not need custom styling. See <a href="https://github.com/w3c/csswg-drafts/issues/11926#issuecomment-2916977161">issue 11926</a>
1999+
19932000
<h3 id="changes-since-2023-05-30">
19942001
Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230530/">2023-05-30 Working Draft</a>
19952002
</h3>

0 commit comments

Comments
 (0)