Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a RenderLineBreak when BR element has unsupported content data…
… style https://bugs.webkit.org/show_bug.cgi?id=224849 Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2021-08-23 Reviewed by Antti Koivisto. Source/WebCore: Instead of falling back to RenderElement::createFor(), create a RenderLineBreak just ignoring the unsupported content data. * html/HTMLBRElement.cpp: (WebCore::HTMLBRElement::createElementRenderer): * rendering/RenderElement.cpp: (WebCore::RenderElement::isContentDataSupported): (WebCore::RenderElement::createFor): * rendering/RenderElement.h: LayoutTests: * editing/execCommand/insert-image-in-composed-list-expected.txt: Rebaseline. Canonical link: https://commits.webkit.org/240827@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
6f1d674
commit 0e86f37
Showing
6 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
LayoutTests/editing/execCommand/insert-image-in-composed-list-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Test passes if it does not crash. | ||
Test passes if it does not crash. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters