[webkit-changes] [WebKit/WebKit] 77495c: Update transforms for table sections
alan
noreply at github.com
Sat Sep 10 06:20:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 77495cc12dd9e38ee023229cc2a6f1f946dd14b8
https://github.com/WebKit/WebKit/commit/77495cc12dd9e38ee023229cc2a6f1f946dd14b8
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-09-10 (Sat, 10 Sep 2022)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/rendering/RenderTableSection.cpp
Log Message:
-----------
Update transforms for table sections
https://bugs.webkit.org/show_bug.cgi?id=245016
Reviewed by Simon Fraser.
The computed anchor point for transforms is based on the resolved transform origin value. This transform origin value depends on the final geometry of the associated renderer.
This patch updates it by calling updateLayerTransform() when the table section geometry is set.
(Without this fix, the anchor point computed as if the box was zero sized -e.g. center behaves as top/left.)
* LayoutTests/TestExpectations:
* Source/WebCore/rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::layoutRows):
Canonical link: https://commits.webkit.org/254351@main
More information about the webkit-changes
mailing list