Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ea8549c954804b88b3fabab59514c183214a4149
https://github.com/WebKit/WebKit/commit/ea8549c954804b88b3fabab59514c183214a4149
Author: Alan Baradlay <[email protected]>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineContentAligner.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineContentAligner.h
M
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
Log Message:
-----------
[Ruby] Add ruby base layout support for 'ruby-align: start'
https://bugs.webkit.org/show_bug.cgi?id=277214
Reviewed by Antti Koivisto.
1. InlineContentAligner::applyRubyAlignSpaceAround is responsible for
aligning ruby content -> rename to InlineContentAligner::applyRubyAlign
2. Simply return { } for 'ruby-align: start' as content is in flush with inline
start side.
(WPT has coverage but with all align values, will mark them PASS when finished
adding all values)
* Source/WebCore/layout/formattingContexts/inline/InlineContentAligner.cpp:
(WebCore::Layout::InlineContentAligner::applyRubyAlign):
(WebCore::Layout::InlineContentAligner::applyRubyAlignSpaceAround): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineContentAligner.h:
*
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::applyRubyAlignOnBaseContent):
(WebCore::Layout::RubyFormattingContext::applyRubyAlignOnAnnotationBox):
Canonical link: https://commits.webkit.org/281493@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes