[webkit-changes] [WebKit/WebKit] cf9329: [IFC] "-webkit-nbsp-mode: space" quirk mode should...

Alan Baradlay noreply at github.com
Wed Jun 21 09:15:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf9329b0104c482a7753c664c6590f39a7d613a4
      https://github.com/WebKit/WebKit/commit/cf9329b0104c482a7753c664c6590f39a7d613a4
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

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

  Log Message:
  -----------
  [IFC] "-webkit-nbsp-mode: space" quirk mode should consult text-wrap/white-space-collapse
https://bugs.webkit.org/show_bug.cgi?id=258336

Reviewed by Tim Nguyen.

Replace legacy white-space references.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.cpp:
(WebCore::Layout::InlineFormattingQuirks::trailingNonBreakingSpaceNeedsAdjustment const):
* Source/WebCore/layout/formattingContexts/inline/InlineTextItem.cpp:
(WebCore::Layout::InlineTextItem::isQuirkNonBreakingSpace const):

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




More information about the webkit-changes mailing list