Skip to content

Commit 0b48907

Browse files
authored
[css-view-transition-1][editorial] Change visibility: hidden analogy to opacity: 0 (#13378)
* [css-view-transition-1][editorial] Change `visibility: hidden` analogy to `opacity: 0`
1 parent 5719f78 commit 0b48907

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
837837
the boxes generated by any element in that {{Document}} with [=captured in a view transition=]
838838
and its [=element contents=],
839839
except [=ViewTransition/transition root pseudo-element=]'s [=tree/inclusive descendants=],
840-
are not painted (as if they had ''visibility: hidden'') and
840+
are not painted (as if they had ''opacity: 0'') and
841841
do not respond to hit-testing (as if they had ''pointer-events: none'').
842842

843843
Note: Elements participating in a transition need to skip painting in their DOM location because
@@ -2000,6 +2000,7 @@ This appendix is <em>informative</em>.
20002000
<h3 id="changes-since-2024-03-28">
20012001
Changes from <a href="https://www.w3.org/TR/2024/CRD-css-view-transitions-1-20240328/">2024-03-28 Candidate Recommendation Draft</a>
20022002
</h3>
2003+
* Update wording to use `opacity: 0` instead of `visibility: hidden`. See <a href="https://github.com/w3c/csswg-drafts/issues/12629">issue 12629</a>.
20032004
* Always flush the queue of update callbacks before capturing the old state. See <a href="https://github.com/w3c/csswg-drafts/issues/11292">issue 11922</a>.
20042005
* Disallow <css>match-element</css> as a custom-ident. See <a href="https://github.com/w3c/csswg-drafts/issues/10995">Issue 10995</a>.
20052006
* 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>

0 commit comments

Comments
 (0)