- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Tue, 24 Oct 2023 13:45:49 +0000
- To: public-css-archive@w3.org
Probably worth checking with some Apple folk about this, as (by my understanding) Safari has been the primary driver of the "ui"-related generics. Local testing confirms that it definitely uses the content language to resolve `system-ui`, so that: ``` data:text/html;charset=utf-8,<div lang=ur style="font:100px system-ui">سلام ``` renders with a very different font from: ``` data:text/html;charset=utf-8,<div lang=ar style="font:100px system-ui">سلام ``` Which is what I'd expect: `system-ui` in Urdu content yields the font that would be used to present the UI in Urdu, while using it in Arabic content yields the font that would be used to present UI in Arabic. I don't really see how it would be useful to apply a "system UI" font that is not appropriate to the language of the content.... (Currently Firefox renders these two examples identically, but I consider that to be a bug.) Not sure if @litherum is still around to comment? Maybe @hober / @nt1m / @fantasai can shed further light? -- GitHub Notification of comment by jfkthame Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9518#issuecomment-1777240325 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 24 October 2023 13:45:51 UTC