Re: [csswg-drafts] [css-align-3][css-position-3] Better interaction of auto insets and self-alignment properties? (#9124)

> The top half seems clearly more-usefully-centered to me. And, taken literally, the proposed change here seems like it'd make the top half behave like the bottom half (since it'd make the used values of auto be 0 here), I think. I don't think that's the intent, so we need to be extra-clear about the expected outcome here. (E.g. there are various behaviors that are conditioned on whether or not the inset properties are auto, and we need to be explicit about which of those behaviors would still happen when we have an auto-that-we-are-treating-as-zero-due-to-this-proposal.)

Right it'd actually render the bottom the same as the top for what we are proposing - the insets would be zero - but we'd still trigger shrink to fit behaviour as `alignment != normal`.

Here is how it renders with my patch:

<img width="216" alt="Screenshot 2023-08-02 at 7 43 34 PM" src="https://github.com/w3c/csswg-drafts/assets/992712/f6bc64b4-a58f-4487-a56a-27f4378935e0">

(there is an argument to be made that if `alignment != normal` and the insets are specified to be zero it'd trigger the default behaviour if we run into compat issue).

Ian

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


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

Received on Thursday, 3 August 2023 02:45:31 UTC