[webkit-changes] [WebKit/WebKit] c75ccb: Deleting a button element leaves the style inside ...
EWS
noreply at github.com
Thu Sep 8 14:31:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c75ccbd4e966b91f06494b79f42403fe3a0bcafb
https://github.com/WebKit/WebKit/commit/c75ccbd4e966b91f06494b79f42403fe3a0bcafb
Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
Date: 2022-09-08 (Thu, 08 Sep 2022)
Changed paths:
A LayoutTests/editing/deleting/delete-button-expected.txt
A LayoutTests/editing/deleting/delete-button.html
M Source/WebCore/editing/DeleteSelectionCommand.cpp
Log Message:
-----------
Deleting a button element leaves the style inside the button element
Deleting a button element leaves the style inside the button element
https://bugs.webkit.org/show_bug.cgi?id=94014
Reviewed by Ryosuke Niwa.
Patch Authored by - Sukolsak Sakshuwong
Make the DeleteSelectionCommand save typing style only for formattable nodes according to the HTML Editing specification and match "Blink" behavior.
* LayoutTests/editing/deleting/delete-button.html
* LayoutTests/editing/deleting/delete-button-expected.txt
* Source/WebCore/editing/DelectionSelectionCommand.cpp
(WebCore::DeleteSelectionCommand::saveTypingStyleState)
Canonical link: https://commits.webkit.org/254285@main
More information about the webkit-changes
mailing list