[css-view-transitions] Behavior of calling `document.startViewTransition` synchronously more than once
Categories
(Core :: Layout, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | fixed |
People
(Reporter: mozilla-apprentice, Assigned: boris)
References
(Blocks 1 open bug)
Details
(Whiteboard: [viewtransitions:m1])
Attachments
(2 files)
A resolution was made for csswg-drafts/#11292.
[css-view-transitions] Behavior of calling `document.startViewTransition` synchronously more than once
- RESOLVED: When starting a new view transition, have the previous active transition do all its cancelation behaviours before the new transition does any of its capturing.
| Assignee | ||
Comment 1•1 year ago
|
||
This is a spec change recently. In setup the view transition, the step 2 is Flush the update callback queue now.
This mean we may have to flush the update callback before capturing the old state in Setup().
The testcase is in the spec issue, or Chromium may add one in https://issues.chromium.org/issues/379422729.
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
I notice the test case in Bug 1952366 crashes when calling getKeyframes(). The test will be added together with this spec update from Chromium side, so I'm trying to figure out why we got crashes and perhaps fix this bug together.
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
Now we flush the update callback queue before scheduling the new
callback in Setup() to make sure the previous update callbacks get
invoked before we do capturing.
The test case is
css/css-view-transitions/start-view-transtion-skips-active.html, which
is not merged into Gecko yet, so I only can verify this locally with
this test.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
|
||
Backed out for causing wpt failures on start-view-transtion-skips-active.html
| Assignee | ||
Comment 7•1 year ago
|
||
Looks like start-view-transtion-skips-active.html also got merged in the same day. :)
https://hg.mozilla.org/mozilla-central/rev/f747d43d12ee
https://hg.mozilla.org/mozilla-central/rev/2dbcd0f2826c
Description
•