[webkit-changes] [WebKit/WebKit] 493fe8: `FontSizeAdjust`'s `metric` member is uninitialized
Vitaly Dyachkov
noreply at github.com
Thu May 18 02:18:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 493fe8cbc12cfd94a262852d3c0d0fad3ac8ffb3
https://github.com/WebKit/WebKit/commit/493fe8cbc12cfd94a262852d3c0d0fad3ac8ffb3
Author: Vitaly Dyachkov <vitaly at igalia.com>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
A LayoutTests/fast/css/font-size-adjust-none-no-relayout-expected.txt
A LayoutTests/fast/css/font-size-adjust-none-no-relayout.html
M Source/WebCore/platform/graphics/FontSizeAdjust.h
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/style/StyleChange.h
M Tools/TestWebKitAPI/CMakeLists.txt
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WebCore/RenderStyleChange.cpp
Log Message:
-----------
`FontSizeAdjust`'s `metric` member is uninitialized
https://bugs.webkit.org/show_bug.cgi?id=256034
Reviewed by Myles C. Maxfield.
Because of it two otherwise identical `RenderStyle`s
will be considered different and can cause full relayout
in some circumstances.
* Source/WebCore/platform/graphics/FontSizeAdjust.h:
Canonical link: https://commits.webkit.org/264195@main
More information about the webkit-changes
mailing list