commit | 215ae65e0c42972ad3fea4b24022316d793882e4 | [log] [tgz] |
---|---|---|
author | Mason Freed <masonfreed@chromium.org> | Thu Feb 07 02:07:35 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 07 02:07:35 2019 |
tree | 4626d36a42dae119daf5063c5a59b86d7934d8f3 | |
parent | 762d7248c097a67e161a5f3aee4ef4437555ecc5 [diff] |
Fix BGPT backdrop-filter with opacity<1 parent Previous to this CL, a layer with opacity<1 that contained a single compositing child with backdrop-filter would not be properly rendered, due to an optimization that removed the render surface for the opacity<1 layer. That would cause the backdrop-filter to filter elements higher up the tree than it should, due to the lack of isolation imposed by the opacity<1 layer. With this CL, this situation is properly detected and a render surface is assigned to the opacity<1 layer. As part of this CL, backdrop-filter was moved from the Filter node to the Effect node. This is required, because a single element with both opacity and backdrop-filter need to be contained in the same node, so that the render surface created for the backdrop filter also sees the opacity. Bug: 497522, 836885 Change-Id: Ie6ad38231ddfda02fae8d574ca8f30d075c673e5 Reviewed-on: https://chromium-review.googlesource.com/c/1399467 Commit-Queue: Mason Freed <masonfreed@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#629835}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .