[selectors] Re: ::sticky/::stuck pseudo-class

Rob,


Forgive me for my naivety. Couldn't the repaint process refer to the calculated state resulting from the most recent reflow to determine whether a given element is currently ‘stickied’ or not and thus apply or skip a sticky pseudo-selector?


I expect there to be some low-level details I’m missing, but I don’t see why the performance would be less than or equal to ‘user-scripted’ equivalents.


-- Derek

Received on Friday, 22 May 2015 12:43:51 UTC