Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eef844b64baefafc66b443e8cf12e2aa545e22c1
      
https://github.com/WebKit/WebKit/commit/eef844b64baefafc66b443e8cf12e2aa545e22c1
  Author: Alan Baradlay <[email protected]>
  Date:   2024-11-29 (Fri, 29 Nov 2024)

  Changed paths:
    A 
LayoutTests/fast/text/capitalize-content-with-outside-bmp-characters-expected.html
    A LayoutTests/fast/text/capitalize-content-with-outside-bmp-characters.html
    M LayoutTests/platform/ios/css1/text_properties/text_transform-expected.txt
    M Source/WebCore/rendering/RenderText.cpp

  Log Message:
  -----------
  [Text] Add support for capitalizing content with characters outside of BMP
https://bugs.webkit.org/show_bug.cgi?id=283779
<rdar://problem/140673480>

Reviewed by Antti Koivisto.

Let's use SurrogatePairAwareTextIterator to figure out the actual length of 
capitalized content.

(titlecasing code is the same except now we can pass in multi-character content 
to capitalize.
In practice it's only 16bit content that may have this property)

* Source/WebCore/rendering/RenderText.cpp:
(WebCore::capitalizeCharacter):
(WebCore::capitalize):

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