Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Prevent background propagation on <html> with any containment
https://bugs.webkit.org/show_bug.cgi?id=243363 Reviewed by Simon Fraser. This patch ensures that we don't paint the root (initial contain block) background unless there's a renderer from where the background color could be propagated. This should include cases when containment rules prevent the background color from being painted on the canvas (initial contains block). This is not to be confused with either rootFillsViewport or rootObscuresBackground logic (they both have a slightly different meaning; -where with shouldPropagateBackgroundPaintingToInitialContainingBlock, we still paint the ICB background, but we use the default color instead.) * Source/WebCore/rendering/RenderView.cpp: (WebCore::RenderView::paintBoxDecorations): Canonical link: https://commits.webkit.org/253031@main
- Loading branch information