[webkit-changes] [WebKit/WebKit] e820cd: [IFC][line-clamp] imported/w3c/web-platform-tests/...

Alan Baradlay noreply at github.com
Sun Apr 30 08:45:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e820cde836737b3d2dfe5f5da5c9c5b5bebbd77b
      https://github.com/WebKit/WebKit/commit/e820cde836737b3d2dfe5f5da5c9c5b5bebbd77b
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-04-30 (Sun, 30 Apr 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp

  Log Message:
  -----------
  [IFC][line-clamp] imported/w3c/web-platform-tests/css/css-overflow/webkit-line-clamp-025.html asserts
https://bugs.webkit.org/show_bug.cgi?id=256142

Reviewed by Antti Koivisto.

Adding the "epsilon wiggle room" (see 263428 at main) causes assert when we have exact available space values. In such cases we don't find any overlapping display box even though we know the line content is overflowing (i.e. the last (first) display box must be overflowing).

* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp:
(WebCore::Layout::truncateOverflowingDisplayBoxes):

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




More information about the webkit-changes mailing list