Re: [csswg-drafts] [css-sizing][quirks] Should `stretch` be affected by percentage height calculation quirk? (#12421)

I still haven't implemented the quirk in Servo, so I may be missing something. But I don't follow your examples.

For abspos, the quirk doesn't apply, so their containing block is the same as in no-quirks mode. And in no-quirks mode, Servo just uses the block size of the containing block (which is always a definite amount), we don't track the available-size and percentage-resolution-size as different things.

For floats, percentage heights have the quirk. I'm not sure when floats would use the available-size instead of the percentage-resolution-size if they differ.

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


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

Received on Monday, 7 July 2025 22:16:08 UTC