Re: [csswg-drafts] [css-sizing-4][css-contain-2] Revisiting auto-sizing when size-containment applies (#5668)

> If you agree with that line of reasoning, then I think that generalizes to us forgetting the value once contain-intrinsic-size: auto is removed.

Yup, agreed.

> I'm unfamiliar with the details of the CSS timings, but I'd like to point out a case like "remove contain-intrinsic-size: auto. and then add it in the same function without any forced style in between". Here, we would probably not forget the value, right? And if there was a forced style in between, we would forget the value?

Yes, since we resolved that recording the size happened at the time resizeobservers are fired, I'm planning on making the forgetting happen at the same time. So if you really want to make sure it's forgotten, you may have to wait a frame.

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


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

Received on Friday, 5 February 2021 18:22:20 UTC