[webkit-changes] [WebKit/WebKit] 8f215f: [IFC][Ruby] Introduce Ruby Formatting Context
Alan Baradlay
noreply at github.com
Sun Sep 17 12:59:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8f215fc5db9d1cb319d0a1460d9c25c12b4412fb
https://github.com/WebKit/WebKit/commit/8f215fc5db9d1cb319d0a1460d9c25c12b4412fb
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-09-17 (Sun, 17 Sep 2023)
Changed paths:
M Source/WebCore/CMakeLists.txt
M Source/WebCore/Headers.cmake
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
A Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
A Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h
Log Message:
-----------
[IFC][Ruby] Introduce Ruby Formatting Context
https://bugs.webkit.org/show_bug.cgi?id=261629
Reviewed by Antti Koivisto.
RFC is responsible for laying out the "ruby container" subset of inline items.
(RubyFormattingContext is not derived from FormattingContext as it is not a traditional formatting context like block, flex etc, as its content participates in the parent IFC too.)
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::handleRubyContent):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp: Added.
(WebCore::Layout::RubyFormattingContext::RubyFormattingContext):
(WebCore::Layout::RubyFormattingContext::layoutInlineAxis):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h: Added.
(WebCore::Layout::RubyFormattingContext::parentFormattingContext const):
Canonical link: https://commits.webkit.org/268067@main
More information about the webkit-changes
mailing list