Closed Bug 1663288 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25413 - Fix stacking context isolation issue for svg descendant blend mode

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25413 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25413
Details from upstream follow.

b'Xianzhu Wang <wangxianzhu@chromium.org>' wrote:

Fix stacking context isolation issue for svg descendant blend mode

If a stacking context (including but not limited to foreignObject)
contains an svg element which has non-isolated descendants with blend
mode, the stacking context should create an isolation to define the
backdrop of the blend mode.

We already have logic to create an isolation for a stacking context
if it has a child with non-isolated descendants with blend mode, but
it didn't work for svg root with such descendants because svg roots
didn't create layers. Now always create a layer for svg root to make
the logic work.

Bug: 1102803
Change-Id: Iece3d9b8b8b72c43903dc4899afc95d9bc94ebe7
Reviewed-on: https://chromium-review.googlesource.com/2393627
WPT-Export-Revision: 5b2587e748829a10a5e36e5233225917ad6d3514

Component: web-platform-tests → Web Painting
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.