5 ms·
Is there anything in a browser that ensures that simple updates with local effect have O(1) layout cost? Or do developers have to live with the uncertainty tha
by amelius 11y ago
Is there anything in a browser that ensures that simple updates with local effect have O(1) layout cost?
Or do developers have to live with the uncertainty that simple updates may have a higher computational complexity?
- TabAtkins 11y agoThe CSS 'contain' property helps ensure that local changes don't cause dirtiness to spread higher up the tree. <https://drafts.csswg.org/css-containment/> https://drafts.csswg.org/css-containment/> I know Chrome has an implementation that I think is still moving thru the shipping cycle, and the other browsers are working on theirs iirc.