[webkit-changes] [WebKit/WebKit] 4c1d58: Introduce InlineIterator::LineBox::width

Alan Baradlay noreply at github.com
Fri Jan 6 06:21:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c1d58dc1f54b333c6d5160608a031747d511880
      https://github.com/WebKit/WebKit/commit/4c1d58dc1f54b333c6d5160608a031747d511880
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M Source/WebCore/layout/integration/inline/InlineIteratorLineBox.h
    M Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h
    M Source/WebCore/layout/integration/inline/InlineIteratorLineBoxModernPath.h
    M Source/WebCore/rendering/LegacyRootInlineBox.cpp
    M Source/WebCore/rendering/LegacyRootInlineBox.h

  Log Message:
  -----------
  Introduce InlineIterator::LineBox::width
https://bugs.webkit.org/show_bug.cgi?id=250131

Reviewed by Antti Koivisto.

InlineIterator::LineBox::width returns the logical width of the line box.

* Source/WebCore/layout/integration/inline/InlineIteratorLineBox.h:
(WebCore::InlineIterator::LineBox::width const):
* Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h:
(WebCore::InlineIterator::LineBoxIteratorLegacyPath::width const):
* Source/WebCore/layout/integration/inline/InlineIteratorLineBoxModernPath.h:
(WebCore::InlineIterator::LineBoxIteratorModernPath::width const):
* Source/WebCore/rendering/LegacyRootInlineBox.cpp:
(WebCore::LegacyRootInlineBox::lineBoxWidth const):
* Source/WebCore/rendering/LegacyRootInlineBox.h:

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




More information about the webkit-changes mailing list