News for hackers. Stuff that matters.
Re:Faster DOM by amelius on Thursday May 26, 2016 @06:30PM (#11782209)
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?

Re:Faster DOM by TabAtkins on Thursday May 26, 2016 @07:26PM (#11782543)
The CSS 'contain' property helps ensure that local changes don't cause dirtiness to spread higher up the tree. <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.