[webkit-changes] [WebKit/WebKit] 29ef78: [IFC] LineBuilder should hold on to the initial lo...

Alan Baradlay noreply at github.com
Sat Jan 7 19:00:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 29ef78cf21f7d7564d62ac3b4ea41b489215e643
      https://github.com/WebKit/WebKit/commit/29ef78cf21f7d7564d62ac3b4ea41b489215e643
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-01-07 (Sat, 07 Jan 2023)

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

  Log Message:
  -----------
  [IFC] LineBuilder should hold on to the initial logical left value
https://bugs.webkit.org/show_bug.cgi?id=250257

Reviewed by Antti Koivisto.

m_lineLogicalRect.left() is already adjusted by intrusive floats. initialLineLogicalRect.left() is the original value.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::computedIntrinsicWidth):
(WebCore::Layout::LineBuilder::initialize):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:

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




More information about the webkit-changes mailing list