[webkit-changes] [WebKit/WebKit] b9267a: [Live Range Selection] editing/execCommand/format-...
Ryosuke Niwa
noreply at github.com
Fri Oct 21 21:52:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b9267a2f3d90ffbf6503ed770b562d93a4f66f11
https://github.com/WebKit/WebKit/commit/b9267a2f3d90ffbf6503ed770b562d93a4f66f11
Author: Ryosuke Niwa <rniwa at webkit.org>
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
More information about the webkit-changes
mailing list