Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9267a2f3d90ffbf6503ed770b562d93a4f66f11
      
https://github.com/WebKit/WebKit/commit/b9267a2f3d90ffbf6503ed770b562d93a4f66f11
  Author: Ryosuke Niwa <[email protected]>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    A 
LayoutTests/editing/execCommand/format-block-contenteditable-false-live-range-expected.txt
    A 
LayoutTests/editing/execCommand/format-block-contenteditable-false-live-range.html
    M Source/WebCore/editing/ApplyBlockElementCommand.cpp

  Log Message:
  -----------
  [Live Range Selection] 
editing/execCommand/format-block-contenteditable-false.html fails
https://bugs.webkit.org/show_bug.cgi?id=246833

Reviewed by Wenson Hsieh.

Explicitly canonicalize the ending selection's start & end in 
ApplyBlockElementCommand::doApply
so that the test result for format-block-contenteditable-false.html doesn't 
change before/after
enabling live range selection.

* 
LayoutTests/editing/execCommand/format-block-contenteditable-false-live-range-expected.txt:
 Added.
* 
LayoutTests/editing/execCommand/format-block-contenteditable-false-live-range.html:
 Added.
* Source/WebCore/editing/ApplyBlockElementCommand.cpp:
(WebCore::ApplyBlockElementCommand::doApply):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to