Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML Parser: Update formatting element list bookmarks on element removal
https://bugs.webkit.org/show_bug.cgi?id=246936 Reviewed by Ryosuke Niwa. When elements are removed from the formatting element list, the position in the list of the element bookmarked might change, so make sure that bookmarks are updated when needed. * Source/WebCore/html/parser/HTMLFormattingElementList.cpp: (WebCore::HTMLFormattingElementList::removeUpdatingBookmark): * Source/WebCore/html/parser/HTMLFormattingElementList.h: * Source/WebCore/html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::callTheAdoptionAgency): Canonical link: https://commits.webkit.org/255907@main
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
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
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