Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't unnecessarily tear down top layer renderers in RenderTreeUpdater
https://bugs.webkit.org/show_bug.cgi?id=246735 rdar://101324926 Reviewed by Antti Koivisto. The element.isInTopLayer() check added by https://commits.webkit.org/246767@main is there is because entering top layer forces `display: contents` style to `display: block`. This check is now redundant with https://commits.webkit.org/255527@main, since it is fixing the same issue more globally. Test: fast/css/top-layer-display-contents-crash.html * Source/WebCore/rendering/updating/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::updateElementRenderer): Canonical link: https://commits.webkit.org/255733@main
- Loading branch information