top | item 40263484 (no title) agust | 1 year 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.) discuss order hn newest SirHound|1 year 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
SirHound|1 year 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
SirHound|1 year ago