File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
tests/fixtures/transitions Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class PageSnapshot extends Snapshot {
71
71
}
72
72
73
73
get prefersViewTransitions ( ) {
74
- return this . headSnapshot . getMetaValue ( "view-transition" ) === "same-origin"
74
+ return this . getSetting ( "view-transition" ) === "true" || this . headSnapshot . getMetaValue ( "view-transition" ) === "same-origin"
75
75
}
76
76
77
77
get shouldMorphPage ( ) {
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf-8 " />
5
5
< title > Left</ title >
6
- < meta name ="view-transition " content ="same-origin " />
6
+ < meta name ="turbo- view-transition " content ="true " />
7
7
< script src ="/dist/turbo.es2017-umd.js " data-turbo-track ="reload "> </ script >
8
8
9
9
< style >
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf-8 ">
5
5
< title > Right</ title >
6
- < meta name ="view-transition " content ="same-origin " />
6
+ < meta name ="turbo- view-transition " content ="true " />
7
7
< script src ="/dist/turbo.es2017-umd.js " data-turbo-track ="reload "> </ script >
8
8
9
9
< style >
You can’t perform that action at this time.
0 commit comments