[webkit-changes] [WebKit/WebKit] 53ebb8: [LFC][IFC] Fix editing/selection/move-by-word-visu...

alan noreply at github.com
Sat Sep 24 14:20:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53ebb859aa8608238e1fb335e30cbe8891fc6287
      https://github.com/WebKit/WebKit/commit/53ebb859aa8608238e1fb335e30cbe8891fc6287
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-09-24 (Sat, 24 Sep 2022)

  Changed paths:
    M LayoutTests/platform/ios-wk2/fast/text/capitalize-boundaries-expected.txt
    M LayoutTests/platform/ios/fast/text/international/rtl-white-space-pre-wrap-expected.txt
    M LayoutTests/platform/mac/fast/text/international/rtl-white-space-pre-wrap-expected.txt
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp

  Log Message:
  -----------
  [LFC][IFC] Fix editing/selection/move-by-word-visually-mac.html
https://bugs.webkit.org/show_bug.cgi?id=245619

Reviewed by Antti Koivisto.

Changing the bidi level of trailing whitespace when directionality matches (e.g. bidi level 4 -> 2) is incorrect and confuses bidi iterators.

* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::resetBidiLevelForTrailingWhitespace):

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




More information about the webkit-changes mailing list