Re: [csswg-drafts] [css-zoom?] Zoom and inheritance. (#9397)

> Right, so the work is the same as increasing the font-size, but times the amount of inherited length properties, right? 

Yes. But is that big deal? Also, can't the browsers optimize it by computing it once and passing along a cached value to descendants that also inherit?

> Given engines rely on heavy sharing of inherited computed style data in order to have somewhat reasonable memory usage, it seems problematic, though I haven't checked by hand the number of affected properties.

Wouldn't sharing still be possible, because descendants that don't change font-size or other lengths can reuse each others' values through caching?



-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9397#issuecomment-1831006990 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 November 2023 00:40:23 UTC