Bug 271340
Summary: | Backdrop-filter forces compositing on the root element and uses extra memory | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Matt Woodrow
<rdar://123831236>
Backdrop-filter makes the nearest suitable ancestor a backdrop-root, which forces compositing.
Most commonly, this is the document element, and we add an extra full-screen compositing layer.
This is done to ensure that the compositing layer that the backdrop is read from doesn't contain the background colour the view behind the document.
If the document element has an opaque background, then it will occlude the view's background color, and we can skip creating a compositing layer.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/26211
EWS
Committed 276749@main (7ffc7f9fd02a): <https://commits.webkit.org/276749@main>
Reviewed commits have been landed. Closing PR #26211 and removing active labels.