[webkit-changes] [WebKit/WebKit] 9b22ae: [IFC][Line clamp] Reset geometry for clamped content

Alan Baradlay noreply at github.com
Sun Nov 20 18:35:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b22ae73f7106899ceee30afcbf4f3d8f5599912
      https://github.com/WebKit/WebKit/commit/9b22ae73f7106899ceee30afcbf4f3d8f5599912
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

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

  Log Message:
  -----------
  [IFC][Line clamp] Reset geometry for clamped content
https://bugs.webkit.org/show_bug.cgi?id=248125

Reviewed by Antti Koivisto.

The overflowing content (in block direction) is moved beyond the last line (it does not need to have used geometry per spec, i.e. no need to layout the clamped content).

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
(WebCore::Layout::InlineFormattingContext::resetGeometryForClampedContent):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h:

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




More information about the webkit-changes mailing list