[Webkit-unassigned] [Bug 230348] AX: Why does -apple-system-body default to 13px on macOS?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 19 11:27:22 PDT 2021


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

--- Comment #5 from Myles C. Maxfield <mmaxfield at apple.com> ---
You should be able to use @supports with font: -apple-system-body to conditionalize the size adjustments. CSS variables will also help here.

The purpose of -apple-system-body is to match platform conventions to allow content to show UI that looks like native UI. Putting -apple-system-body in a WKWebView and putting that next to native UI in an app needs to result in them having the same size.

https://github.com/w3c/csswg-drafts/issues/3708 has a bunch of other ideas for new ways to expose the dynamic text size of the system. Maybe you’re advocating for something new, rather than adjusting the behavior of -apple-system-body? If there is to be a new mechanism, it should probably go to the CSSWG first, rather than start in WebKit’s bug tracker.

-- 
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/20210919/949fae73/attachment-0001.htm>


More information about the webkit-unassigned mailing list