[Webkit-unassigned] [Bug 243882] New: [css-flexbox] align-content behavior does not match the spec for absolutely positioned children

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 12 09:18:25 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243882

            Bug ID: 243882
           Summary: [css-flexbox] align-content behavior does not match
                    the spec for absolutely positioned children
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rreno at apple.com

The static position of absolutely positioned children of multi-line flex containers will use the container's align-content to position the child when webkit.org/b/221472 is resolved. However, we will maintain our current behavior for the case of align-content: stretch. This is contrary to the spec which calls for a fallback to align-content: flex-start when the available space in the container is negative. (e.g. when the child is larger than the container).

This fallback behavior is ignored by all major engines and has been shipping with agreement for quite a while. Additionally, stretch is the normal, or default, behavior of align-content. A change in behavior here may have webcompat consequences. I raised an issue with the CSSWG to change the spec to match current browser behavior. Until that is resolved, this bug tracks the unspecified behavior we implement in WebKit for this one case.

CSSWG issue: https://github.com/w3c/csswg-drafts/issues/7596

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220812/0893a258/attachment.htm>


More information about the webkit-unassigned mailing list