[webkit-changes] [WebKit/WebKit] 1758ef: Make FontCascade loggable
Simon Fraser
noreply at github.com
Mon Dec 2 18:18:38 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1758ef2b35fc15e6f4e94e75509c325511701510
https://github.com/WebKit/WebKit/commit/1758ef2b35fc15e6f4e94e75509c325511701510
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths:
M Source/WebCore/platform/graphics/FontCascade.cpp
M Source/WebCore/platform/graphics/FontCascade.h
M Source/WebCore/platform/graphics/FontCascadeDescription.cpp
M Source/WebCore/platform/graphics/FontCascadeDescription.h
M Source/WebCore/platform/graphics/FontCascadeFonts.cpp
M Source/WebCore/platform/graphics/FontCascadeFonts.h
M Source/WebCore/platform/graphics/FontSelector.cpp
M Source/WebCore/platform/graphics/FontSelector.h
M Source/WebCore/rendering/RenderElement.cpp
M Source/WebCore/rendering/style/StyleInheritedData.cpp
Log Message:
-----------
Make FontCascade loggable
https://bugs.webkit.org/show_bug.cgi?id=283932
rdar://140805857
Reviewed by Tim Nguyen.
FontCascade changes are responsible for a lot of Layout style diffs.
It's useful to be able to get some logging information about FontCascade.
This is not complete logging, just enough to give some basic information,
and reflect why operator== can return false.
* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::operator<<):
* Source/WebCore/platform/graphics/FontCascade.h:
* Source/WebCore/platform/graphics/FontCascadeDescription.cpp:
(WebCore::operator<<):
* Source/WebCore/platform/graphics/FontCascadeDescription.h:
* Source/WebCore/platform/graphics/FontCascadeFonts.cpp:
(WebCore::operator<<):
* Source/WebCore/platform/graphics/FontCascadeFonts.h:
(WebCore::FontCascadeFonts::fontSelector const):
* Source/WebCore/platform/graphics/FontSelector.cpp:
(WebCore::operator<<):
* Source/WebCore/platform/graphics/FontSelector.h:
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::logStyleDifference): Just tidy it up a bit.
(WebCore::RenderElement::setStyle):
* Source/WebCore/rendering/style/StyleInheritedData.cpp:
(WebCore::StyleInheritedData::dumpDifferences const):
Canonical link: https://commits.webkit.org/287245@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list