Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r220916 - Factor render tree mutation code from RenderListItem …
…to RenderTreeUpdater https://bugs.webkit.org/show_bug.cgi?id=175718 Reviewed by Andreas Kling. We already stopped doing layout time mutations. We can now move the code out too. * WebCore.xcodeproj/project.pbxproj: * rendering/RenderListItem.cpp: (WebCore::isHTMLListElement): (WebCore::getParentOfFirstLineBox): Deleted. (WebCore::firstNonMarkerChild): Deleted. (WebCore::RenderListItem::updateMarkerRenderer): Deleted. Moved to RenderTreeUpdater::ListItem. * rendering/RenderListItem.h: * rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::willBeDestroyed): * rendering/TextAutoSizing.cpp: (WebCore::TextAutoSizingValue::adjustTextNodeSizes): * style/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::pushParent): (WebCore::RenderTreeUpdater::popParent): (WebCore::RenderTreeUpdater::updateBeforeDescendants): (WebCore::RenderTreeUpdater::updateAfterDescendants): Factor pre/post update into functions. (WebCore::RenderTreeUpdater::updateBeforeOrAfterPseudoElement): * style/RenderTreeUpdater.h: * style/RenderTreeUpdaterListItem.cpp: Added. Mutation functions move here. (WebCore::getParentOfFirstLineBox): (WebCore::firstNonMarkerChild): (WebCore::RenderTreeUpdater::ListItem::updateMarker): * style/RenderTreeUpdaterListItem.h: Added.
- Loading branch information
1 parent
0a06eca
commit 43a3335
Showing
10 changed files
with
241 additions
and
106 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
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
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
Oops, something went wrong.