[webkit-changes] [WebKit/WebKit] 2a7370: [IFC][Ruby] Turn RubyFormattingContext into a stat...
Alan Baradlay
noreply at github.com
Tue Dec 5 07:53:40 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a73708a7d705db9f56290d01f0ab6bab1a18353
https://github.com/WebKit/WebKit/commit/2a73708a7d705db9f56290d01f0ab6bab1a18353
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h
Log Message:
-----------
[IFC][Ruby] Turn RubyFormattingContext into a static helper class
https://bugs.webkit.org/show_bug.cgi?id=265774
Reviewed by Antti Koivisto.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::setVerticalPropertiesForInlineLevelBox const):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::processRubyBase):
(WebCore::Layout::InlineDisplayContentBuilder::applyRubyOverhang):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::halfOfAFullWidthCharacter):
(WebCore::Layout::baseContentIndex):
(WebCore::Layout::visualRectIncludingBlockDirection):
(WebCore::Layout::annotationOverlapCheck):
(WebCore::Layout::RubyFormattingContext::placeAnnotationBox):
(WebCore::Layout::RubyFormattingContext::sizeAnnotationBox):
(WebCore::Layout::RubyFormattingContext::applyAnnotationContributionToLayoutBounds):
(WebCore::Layout::RubyFormattingContext::overhangForAnnotationBefore):
(WebCore::Layout::RubyFormattingContext::overhangForAnnotationAfter):
(WebCore::Layout::RubyFormattingContext::RubyFormattingContext): Deleted.
(WebCore::Layout::RubyFormattingContext::applyAnnotationContributionToLayoutBounds const): Deleted.
(WebCore::Layout::RubyFormattingContext::visualRectIncludingBlockDirection const): Deleted.
(WebCore::Layout::RubyFormattingContext::annotationOverlapCheck const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h:
(WebCore::Layout::RubyFormattingContext::parentFormattingContext const): Deleted.
Canonical link: https://commits.webkit.org/271552@main
More information about the webkit-changes
mailing list