[Webkit-unassigned] [Bug 272858] New: Add support for "safe" and "unsafe" alignment keywords

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 17 16:01:44 PDT 2024


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

            Bug ID: 272858
           Summary: Add support for "safe" and "unsafe" alignment keywords
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bart at tremby.net

Feature support report:

https://caniuse.com/?search=safe%20and%20unsafe

Docs on MDN such as:

https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content#safe

This keyword affects how the alignment is adjusted in cases where the items cause overflow. The default behaviour ("unsafe") doesn't prevent content from overflowing off the "start" side, and this cannot be scrolled to, and so is not accessible.

Particularly unpleasant is that Webkit reports via a @supports(justify-content: safe center) query that it *does* support it, so there's no way without user agent sniffing or other hacks to provide a Webkit-friendly fallback.

-- 
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/20240417/7d8e15fe/attachment.htm>


More information about the webkit-unassigned mailing list