Skip to content

Commit 8745dbb

Browse files
authored
[css-view-transitions-2] Allow transitions when traversing into a document that was created using cross-origin redirects (#11070)
1 parent d72a80b commit 8745dbb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-view-transitions-2/Overview.bs

+3-1
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,9 @@ The [=captured element=] struct should contain these fields, in addition to the
992992

993993
1. If |oldDocument|'s [=Document/origin=] is not [=same origin=] as |newDocument|'s [=Document/origin=], then return false.
994994

995-
1. If |newDocument| [=was created via cross-origin redirects=], then return false.
995+
1. If |newDocument| [=was created via cross-origin redirects=] and |newDocument|'s [=latest entry=] is null, then return false.
996+
997+
Note: A [=Document=]'s [=latest entry=] would be null if this is a new navigation, rather than a restore from BFCache.
996998

997999
1. If |navigationType| is {{NavigationType/traverse}}, then return true.
9981000

0 commit comments

Comments
 (0)