Re: [w3ctag/design-reviews] CSS: contain-intrinsic-size: auto, and converting to a shorthand property (#624)

We are proposing a change to this API to reduce the "side-effects from a property that no longer applies" issue here:
https://github.com/w3c/csswg-drafts/issues/6308

If agreed to by the CSSWG, the scope of that issue will be much lower.

We consider it a huge benefit of this feature that no JavaScript code is required to get faster rendering while maintaining reasonable scrollbar behavior. It is difficult to write JavaScript code that works with arbitrary websites, because there is no good/efficient way to find elements to which `contain-intrinsic-size` was applied. It also increases the barrier for entry to use this feature, from just applying a couple of CSS properties to having to find a "polyfill" or writing code yourself.

cc @chrishtr in case he has further input.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/624#issuecomment-847404480

Received on Monday, 24 May 2021 22:52:48 UTC