-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[view-transitions] https://pokedex-dev.vercel.app/pokemons has super …
…low framerate. https://bugs.webkit.org/show_bug.cgi?id=274439 <rdar://128030956> Reviewed by Tim Nguyen. We invalidate the stylesheet every frame, resulting in way too much painting. Instead, only invalidate the stylesheet if we actually inserted new styles. Also invalidate layout, and the layer configuration for the pseudo if we change those. * Source/WebCore/css/MutableStyleProperties.cpp: (WebCore::MutableStyleProperties::mergeAndOverrideOnConflict): * Source/WebCore/css/MutableStyleProperties.h: * Source/WebCore/dom/ViewTransition.cpp: (WebCore::ViewTransition::updatePseudoElementStyles): * Source/WebCore/rendering/RenderViewTransitionCapture.cpp: (WebCore::RenderViewTransitionCapture::setSize): * Source/WebCore/rendering/RenderViewTransitionCapture.h: Canonical link: https://commits.webkit.org/279049@main
- Loading branch information
1 parent
8e3653b
commit a3c5034
Showing
5 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters