[webkit-changes] [WebKit/WebKit] f55528: Incorrect paint of 'translate' property animation

Antoine Quint noreply at github.com
Sat Jan 21 14:01:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f55528510521414e5395a931109a5b9fe970b197
      https://github.com/WebKit/WebKit/commit/f55528510521414e5395a931109a5b9fe970b197
  Author: Antoine Quint <graouts at apple.com>
  Date:   2023-01-21 (Sat, 21 Jan 2023)

  Changed paths:
    A LayoutTests/fast/repaint/translate-animation-repaint-expected.txt
    A LayoutTests/fast/repaint/translate-animation-repaint.html
    M Source/WebCore/rendering/RenderElement.cpp

  Log Message:
  -----------
  Incorrect paint of 'translate' property animation
https://bugs.webkit.org/show_bug.cgi?id=247299
rdar://102064448

Reviewed by Simon Fraser.

When style changes, ensure we don't just check for the "transform" property
being set on the new style but any of the properties that contribute to a
transform being applied to the renderer when considering whether this renderer
will end up on a layer.

* LayoutTests/fast/repaint/translate-animation-repaint-expected.txt: Added.
* LayoutTests/fast/repaint/translate-animation-repaint.html: Added.
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::RenderElement::repaintBeforeStyleChange):

Canonical link: https://commits.webkit.org/259173@main




More information about the webkit-changes mailing list