Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f97723ea087241f30f5e81219dddf22fc5b8f757
      
https://github.com/WebKit/WebKit/commit/f97723ea087241f30f5e81219dddf22fc5b8f757
  Author: Alan Baradlay <za...@apple.com>
  Date:   2023-12-04 (Mon, 04 Dec 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] RubyFormattingContext::overhangForAnnotationAfter should take a 
base range
https://bugs.webkit.org/show_bug.cgi?id=265770

Reviewed by Antti Koivisto.

Use WTF::Range<size_t> instead of passing in start/end individually (and some 
renames).

* 
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::applyRubyOverhang):
* 
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::baseContentIndex):
(WebCore::Layout::RubyFormattingContext::overhangForAnnotationBefore):
(WebCore::Layout::RubyFormattingContext::overhangForAnnotationAfter):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to