Bug 1500300 triggers a giant blob image as an image mask because the container has a fixed-position child underneath. However it looks to me like we ough to be able to push a clip rect instead of a blob image, since the page is only using the inset() function. I'm not familiar with all the clip-path setup in order to know whether the current behavior is just suboptimal or needed for correctness in some cases. Markus, does the above sound reasonable?
(See comment 0)
Also, https://christopher-tierney.com/apotheke-la/ is a real-world page that would trigger this... I guess we should first measure once I get the tiled mask images landed.
It would be very valuable to optimize inset() clip paths into rectangle clips. There should be no difference from a correctness perspective. (It's possible that we currently don't pixel-snap inset() clips, so they might have blurry edges, but that's not a desirable result anyway.)
(Just so it doesn't fall of my radar)
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Attachment #9019069 - Attachment description: Bug 1500575 - [WIP] Map inset clip paths to WR complex clip regions. → Bug 1500575 - Map inset clip paths to WR complex clip regions.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/9140cba9a8f8 Map inset clip paths to WR complex clip regions. r=kats
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/bebe2e4eab25 De-fuzz another webrender test. r=me
You need to log in before you can comment on or make changes to this bug.