Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fe53e17ba32a3ab212d7dffa7b807d871e2eb2cf
      
https://github.com/WebKit/WebKit/commit/fe53e17ba32a3ab212d7dffa7b807d871e2eb2cf
  Author: Alan Baradlay <[email protected]>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h

  Log Message:
  -----------
  [cleanup] Move first/last inline text item index from 
LineBuilder::candidateContentForLine to LineCandidate
https://bugs.webkit.org/show_bug.cgi?id=298826

Reviewed by Antti Koivisto.

This is in preparation for using first/last text runs as shaping boundaries.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineCandidate::InlineContent::firstTextRunIndex const):
(WebCore::Layout::LineCandidate::InlineContent::lastTextRunIndex const):
(WebCore::Layout::LineCandidate::InlineContent::appendInlineItem):
(WebCore::Layout::LineCandidate::InlineContent::reset):
(WebCore::Layout::LineBuilder::leadingPunctuationWidthForLineCandiate const):
(WebCore::Layout::LineBuilder::trailingPunctuationOrStopOrCommaWidthForLineCandiate
 const):
(WebCore::Layout::LineBuilder::candidateContentForLine):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:

Canonical link: https://commits.webkit.org/300002@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

Reply via email to