[webkit-changes] [WebKit/WebKit] e2cc16: Factor out hasSingleLine logic into a method

fantasai noreply at github.com
Sat Jan 25 12:53:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e2cc160e3d0d51b1fb74d0786abf400a181946ce
      https://github.com/WebKit/WebKit/commit/e2cc160e3d0d51b1fb74d0786abf400a181946ce
  Author: Elika Etemad <fantasai.bugs at inkedblade.net>
  Date:   2025-01-25 (Sat, 25 Jan 2025)

  Changed paths:
    M Source/WebCore/layout/integration/inline/InlineIteratorInlineBox.h
    M Source/WebCore/rendering/InlineBoxPainter.cpp

  Log Message:
  -----------
  Factor out hasSingleLine logic into a method
https://bugs.webkit.org/show_bug.cgi?id=286311
rdar://143332919

Reviewed by Alan Baradlay.

Moves hasSingleLine logic into a helper method on InlineIterator::InlineBox.

* Source/WebCore/layout/integration/inline/InlineIteratorInlineBox.h:
(WebCore::InlineIterator::InlineBox::isSplit const):
* Source/WebCore/rendering/InlineBoxPainter.cpp:
(WebCore::InlineBoxPainter::paintMask):
(WebCore::InlineBoxPainter::paintDecorations):
(WebCore::InlineBoxPainter::paintFillLayer):
(WebCore::InlineBoxPainter::paintBoxShadow):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list