Re: [csswg-drafts] [css-flexbox] `align-content: stretch` for abspos children of flex containers should align with browser behavior. (#7596)

Agree with @tabatkins comment https://github.com/w3c/csswg-drafts/issues/7596#issuecomment-1217068116 and would be glad to make this change which brings static positioning in flexbox more in alignment with other layout models.

@rreno I have one question, earlier you wrote:

> The spec for `align-content: stretch` states
> > Lines stretch to take up the remaining space. If the leftover free-space is negative, this value is identical to [flex-start](https://drafts.csswg.org/css-flexbox-1/#valdef-align-content-flex-start). Otherwise, the free-space is split equally between all of the lines, increasing their cross size.
> 
> All browsers currently ignore the second sentence.

Were you referring here to the behavior of abspos elements or of in-flow elements? Because browsers certainly follow that sentence for in-flow content, [afacit](https://www.software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20style%3D%22display%3A%20flex%3B%20border%3A%20solid%3B%20height%3A%20100px%3B%20flex-flow%3A%20wrap%22%3E%0A%3Cdiv%20style%3D%22background%3A%20aqua%3B%20height%3A%20150px%22%3EX%3C%2Fdiv%3E%0A%3Cdiv%20style%3D%22background%3A%20fuchsia%3B%20height%3A%2010px%3B%20align-self%3A%20end%22%3EY%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A).

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


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

Received on Wednesday, 17 August 2022 18:31:29 UTC