Re: [csswg-drafts] [css-contain] contain: style does not seem useful. (#3280)

> The spec is not talking about computing the style of ancestors.

Well, that's what I read given "might need to have its style recalculated can stop at the containing element". If it's not talking about style recalc then it should not mention style recalc and should be reworded.

In any case I understand that the only feasible optimization here is counter updates (see the first comment where I mention "if only, you could optimize counter updates"). I just don't think I agree adding a feature like this is useful if this is the only optimization you can get out of it. Are counters in general (and dynamically inserted counter increments / resets in particular) used enough / enough of a bottleneck to justify the complexity of this? My guess is not.

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

Received on Friday, 11 January 2019 12:21:18 UTC