Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3fdc4aba9a52b813f054f2a64f12bdc4c72090c0
      
https://github.com/WebKit/WebKit/commit/3fdc4aba9a52b813f054f2a64f12bdc4c72090c0
  Author: Aditya Keerthi <[email protected]>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M Source/WebCore/editing/cocoa/EditorCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/AdaptiveImageGlyph.mm

  Log Message:
  -----------
  [Genmoji] Inserting Genmoji via the keyboard does not always match the 
surrounding text size
https://bugs.webkit.org/show_bug.cgi?id=276190
rdar://131070706

Reviewed by Wenson Hsieh and Abrar Rahman Protyasha.

* Source/WebCore/editing/cocoa/EditorCocoa.mm:
(WebCore::Editor::insertMultiRepresentationHEIC):

Specify `ReplaceSelectionCommand::MatchStyle` to ensure the used font size
matches surrounding text upon insertion.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/AdaptiveImageGlyph.mm:
(TestWebKitAPI::TEST(AdaptiveImageGlyph, InsertAdaptiveImageGlyphMatchStyle)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to