mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Bug 1389743 - Only reconstruct frames synchronously from ContentRemoved when called from frame construction
Tag #1375
This commit is contained in:
parent
fe13c5bffc
commit
f63cd76698
9 changed files with 201 additions and 285 deletions
|
|
@ -1249,8 +1249,10 @@ if (!mDestroyedFrames) {
|
|||
// We could also have problems with triggering of CSS transitions
|
||||
// on elements whose frames are reconstructed, since we depend on
|
||||
// the reconstruction happening synchronously.
|
||||
frameConstructor->RecreateFramesForContent(content, false,
|
||||
nsCSSFrameConstructor::REMOVE_FOR_RECONSTRUCTION, nullptr);
|
||||
frameConstructor->RecreateFramesForContent(
|
||||
content,
|
||||
nsCSSFrameConstructor::InsertionKind::Sync,
|
||||
nsCSSFrameConstructor::REMOVE_FOR_RECONSTRUCTION);
|
||||
} else {
|
||||
NS_ASSERTION(frame, "This shouldn't happen");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue