Y
Hacker News
new
|
ask
|
show
|
jobs
by
agust
775 days ago
Just one nitpick: the DOM is not updated by CSS here, only the value of the CSS variable is. (It will indeed cause style recalc and paint though, and result in poor performance as we can see with the demos.)
1 comments
SirHound
775 days ago
Yeah true tho I’m referring to the counter being set via the content style, which doesn’t update the DOM as such but does/can change layout
link