layout: Properly set IS_BLEND_CONTAINER when creating WebRender stacking contexts#60589
Open
servo-wpt-sync wants to merge 1 commit into
Open
layout: Properly set IS_BLEND_CONTAINER when creating WebRender stacking contexts#60589servo-wpt-sync wants to merge 1 commit into
servo-wpt-sync wants to merge 1 commit into
Conversation
…ing contexts In order to properly support `mix-blend-mode` stacking contexts that are parents of child stacking contexts with `mix-blend-mode` in their style need to be marked with the is `IS_BLEND_CONTAINER` StackingContextFlag. In addition to correcting the display of `mix-blend-mode` content, this also work around an issue where `mix-blend-mode` was causing a panic when combined with a particular transform. This also works around a variety of WebRender bugs that happen when `mix-blend-mode` is used near the root stacking context. Signed-off-by: Martin Robinson <mrobinson@abandonedwig.info>
wpt-pr-bot
approved these changes
Jun 12, 2026
wpt-pr-bot
left a comment
Collaborator
There was a problem hiding this comment.
The review process for this patch is being conducted in the Servo project.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In order to properly support
mix-blend-modestacking contexts that areparents of child stacking contexts with
mix-blend-modein their styleneed to be marked with the is
IS_BLEND_CONTAINERStackingContextFlag.In addition to correcting the display of
mix-blend-modecontent, thisalso work around an issue where
mix-blend-modewas causing a panicwhen combined with a particular transform.
This also works around a variety of WebRender bugs that happen when
mix-blend-modeis used near the root stacking context.Testing: This change updates test results and also adds a WPT crash test.
Fixes: #42292.
Reviewed in servo/servo#45624