[webkit-changes] [WebKit/WebKit] 513717: [IFC] TextOnlyLineBuilder should handle content wi...

Alan Baradlay noreply at github.com
Wed Aug 16 12:05:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 513717061cf796c8cb62912accbebc3de4e722b4
      https://github.com/WebKit/WebKit/commit/513717061cf796c8cb62912accbebc3de4e722b4
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

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

  Log Message:
  -----------
  [IFC] TextOnlyLineBuilder should handle content with 'wordBreak: break-word' and 'overflow-wrap: anywhere'
https://bugs.webkit.org/show_bug.cgi?id=260227

Reviewed by Antti Koivisto.

TextOnlyLineBuilder already has the concept of "wrap opportunity list" which is required to support these properties.
(i.e. no performance penalty)

* Source/WebCore/layout/formattingContexts/inline/TextOnlyLineBuilder.cpp:
(WebCore::Layout::TextOnlyLineBuilder::isEligibleForSimplifiedTextOnlyInlineLayout):

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




More information about the webkit-changes mailing list