Disallow backdrop-filter on the root element of the main page.
There is nothing behind the root element stacking context in the same frame, and it's also important not to blend with any white behind the root frame. This is also causing a problem at the moment in Chromium because to implement the semantics in [1] for filters of the root element group applying after drawing and before compositing into the root group, we now paint two PaintChunks for the LayoutView [2]. The second such PaintChunk has a PropertyTreeState that includes filters (including at the moment backdrop-filter). But since it's not composited the code fails to work correctly. This CL does not apply to iframes, because they do have a well-defined backdrop from their containing frame's contents. [1] https://drafts.fxtf.org/compositing/#pagebackdrop [2] https://chromium-review.googlesource.com/c/chromium/src/+/1979258 Bug: 1061802 Change-Id: I9212213d1787647b171fbefcf18ef80d51b74a2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2109318Reviewed-by:Mason Freed <masonfreed@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#751883}
Showing
Please register or sign in to comment