[webkit-changes] [WebKit/WebKit] f2cb2e: Convert AppleInterchangeNewline and AppleConverted...

Richard Robinson noreply at github.com
Fri Mar 8 15:17:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f2cb2e25ea8d52946b02a1b93b17cc031c24c7ac
      https://github.com/WebKit/WebKit/commit/f2cb2e25ea8d52946b02a1b93b17cc031c24c7ac
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2024-03-08 (Fri, 08 Mar 2024)

  Changed paths:
    M Source/WebCore/editing/HTMLInterchange.cpp
    M Source/WebCore/editing/HTMLInterchange.h
    M Source/WebCore/editing/ReplaceSelectionCommand.cpp
    M Source/WebCore/editing/cocoa/HTMLConverter.mm
    M Source/WebCore/editing/markup.cpp

  Log Message:
  -----------
  Convert AppleInterchangeNewline and AppleConvertedSpace to be constant expressions instead of macros
https://bugs.webkit.org/show_bug.cgi?id=270710
rdar://124290908

Reviewed by Abrar Rahman Protyasha and Ryosuke Niwa.

* Source/WebCore/editing/HTMLInterchange.cpp:
(WebCore::convertHTMLTextToInterchangeFormat):
* Source/WebCore/editing/HTMLInterchange.h:
* Source/WebCore/editing/ReplaceSelectionCommand.cpp:
(WebCore::isInterchangeNewlineNode):
(WebCore::isInterchangeConvertedSpaceSpan):
(WebCore::isInlineNodeWithStyle):
* Source/WebCore/editing/cocoa/HTMLConverter.mm:
(HTMLConverter::_processElement):
* Source/WebCore/editing/markup.cpp:
(WebCore::serializePreservingVisualAppearanceInternal):
(WebCore::createFragmentFromText):

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