Re: [csswg-drafts] [css-sizing] Does indefinite `stretch` behave as automatic size or as initial value? (#11006)

> we recently did a change to follow Firefox in this regard. See: https://github.com/w3c/csswg-drafts/issues/10721

Not sure if that is the best behavior, I have commented there.

> I'm curious why this is difficult in Servo?

I misunderstood what you were doing for `fit-content`, I thought it was trickier. Resolving keywords in different ways depending on the property and having a potentially indefinite stretch size during layout still adds some complexity. But not a big deal I guess.

> it'd be super weird if we coerce an explicitly extrinsic constraint to be intrinsic

Maybe a bit weird indeed.

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


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

Received on Thursday, 17 October 2024 09:17:26 UTC