[webkit-changes] [WebKit/WebKit] 15d012: [LFC][IFC] Fix editing/selection/51344.html

alan noreply at github.com
Mon Oct 10 06:06:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 15d012bb943d088eae272f48b1a87e1808b4a9e4
      https://github.com/WebKit/WebKit/commit/15d012bb943d088eae272f48b1a87e1808b4a9e4
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp

  Log Message:
  -----------
  [LFC][IFC] Fix editing/selection/51344.html
https://bugs.webkit.org/show_bug.cgi?id=246256

Reviewed by Antti Koivisto.

Make sure we produce correct bidi levels for editable inline content. This is inline with blink's implementation (and the relevant spec https://w3c.github.io/csswg-drafts/css-writing-modes-4/#unicode-bidi (note that "dir" sets unicode-bidi: isolate on the IFC root)).

* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::handleEnterExitBidiContext):

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




More information about the webkit-changes mailing list