[webkit-changes] [WebKit/WebKit] 8e2165: neowin.net: layout selection text is overlapping i...

Alan Baradlay noreply at github.com
Thu May 2 12:42:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e216543406fc1c3366ce66e5ca4688420653422
      https://github.com/WebKit/WebKit/commit/8e216543406fc1c3366ce66e5ca4688420653422
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    A LayoutTests/fast/inline/floater-with-no-wrap-inline-box-overlap-expected.html
    A LayoutTests/fast/inline/floater-with-no-wrap-inline-box-overlap.html
    M Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp

  Log Message:
  -----------
  neowin.net: layout selection text is overlapping in Safari
https://bugs.webkit.org/show_bug.cgi?id=273516
<rdar://problem/127317063>

Reviewed by Antti Koivisto.

By checking preceding inline items in the continuous set we may find a parent that lets us wrap this overflowing content to the subsequent line.

* LayoutTests/fast/inline/floater-with-no-wrap-inline-box-overlap-expected.html: Added.
* LayoutTests/fast/inline/floater-with-no-wrap-inline-box-overlap.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:
(WebCore::Layout::InlineContentBreaker::processOverflowingContent const):

Canonical link: https://commits.webkit.org/278274@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