- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Sat, 17 Apr 2021 19:19:02 +0000
- To: public-css-archive@w3.org
Also, what about a dynamic `contain-intrinsic-size`? Like 1. You render an element with `contain-intrinsic-size: auto 0px` and no containment, so it remembers the size, e.g. 100px. 2. You set `contain-intrinsic-size: none`. 3. You change the contents so that the inner size becomes e.g. 200px. This is not recorded as the last remembered size. 4. You add `contain: size; contain-intrinsic-size: auto 0px`. Do the 100px survive this process? > we have to use an actual resize observer and store the last remembered size in the DOM node How do you handle ::before and ::after? Can you add a resize observer to a pseudo-element? AFAIK Blink doesn't create pseudo-element nodes if they are not going to generate a box, and disposes of the nodes if they stop generating a box... -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6220#issuecomment-821873855 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 17 April 2021 19:19:08 UTC