[webkit-changes] [WebKit/WebKit] eab656: [IFC][Ruby] Move annotation borderBox top/left log...

Alan Baradlay noreply at github.com
Wed Sep 27 07:08:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eab6568c625b4c6e295a57e3330331377fc08991
      https://github.com/WebKit/WebKit/commit/eab6568c625b4c6e295a57e3330331377fc08991
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    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] Move annotation borderBox top/left logic to RubyFormattingContext:placeAnnotationBox
https://bugs.webkit.org/show_bug.cgi?id=262148

Reviewed by Antti Koivisto.

This is in preparation for sizing the annotation box.

* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::appendInterlinearRubyAnnotationBox):
(WebCore::Layout::InlineDisplayContentBuilder::appendIntercharacterRubyAnnotationBox):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::placeAnnotationBox):
(WebCore::Layout::RubyFormattingContext::annotationPosition): Deleted.
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h:

Canonical link: https://commits.webkit.org/268506@main




More information about the webkit-changes mailing list