Not sure how I missed that CSS containment shipped in Firefox 69: https://developer.mozilla.org/en-US/docs/Web/CSS/contain#Browser_compatibility
I actually use CSS containment in Pinafore to optimize some parts of the DOM that should have their layout calculated independently (modals, virtual list items, etc.). I'm curious to know if perf actually improved in Firefox 69.