[webkit-changes] [WebKit/WebKit] f500d3: Incorrect text caret placement when RTL text start...

Alan Baradlay noreply at github.com
Sun Feb 5 06:39:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f500d3412d93813633ccf7a56cd6d1b33c408344
      https://github.com/WebKit/WebKit/commit/f500d3412d93813633ccf7a56cd6d1b33c408344
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-02-05 (Sun, 05 Feb 2023)

  Changed paths:
    A LayoutTests/fast/inline/scrollable-overflow-pre-wrap-hanging-whitespace-expected.html
    A LayoutTests/fast/inline/scrollable-overflow-pre-wrap-hanging-whitespace.html
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp

  Log Message:
  -----------
  Incorrect text caret placement when RTL text starts with whitespace
https://bugs.webkit.org/show_bug.cgi?id=251313
<rdar://problem/104781435>

Reviewed by Antti Koivisto.

See the comment in LineBoxBuilder::build.

* LayoutTests/fast/inline/scrollable-overflow-pre-wrap-hanging-whitespace-expected.html: Added.
* LayoutTests/fast/inline/scrollable-overflow-pre-wrap-hanging-whitespace.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::build):

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




More information about the webkit-changes mailing list