Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6e67536ebe5b6515f8086dfb4111378655de0bbd
https://github.com/WebKit/WebKit/commit/6e67536ebe5b6515f8086dfb4111378655de0bbd
Author: Darin Adler <[email protected]>
Date: 2024-02-04 (Sun, 04 Feb 2024)
Changed paths:
M LayoutTests/TestExpectations
M Source/WTF/wtf/text/StringImpl.cpp
M Source/WebCore/rendering/RenderText.cpp
Log Message:
-----------
text-transform test failures due to Lithuanian rules and out-of-flow
characters
https://bugs.webkit.org/show_bug.cgi?id=268705
rdar://122251072
Reviewed by Tim Nguyen.
Changed so Lithuanian won't use the fast path, and so we won't consider out of
line
characters when doing title case.
* LayoutTests/TestExpectations: Expect 3 more tests to pass. Also took off
incorrect bug
numbers. Many tests were marked with a closed bug, which is not what bug
numbers in this
file are supposed to mean.
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::needsTurkishCasingRules): Tweaked style.
(WTF::needsGreekUppercasingRules): Ditto.
(WTF::needsLithuanianCasingRules): Added.
(WTF::StringImpl::convertToLowercaseWithLocale): Don't use fast path for
Lithuanian.
(WTF::StringImpl::convertToUppercaseWithLocale): Ditto.
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::RenderText::previousCharacter const): Skip renderers that are not in
flow.
Canonical link: https://commits.webkit.org/274073@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes