W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-fonts-4] Content authors want to modify style based on the presence of color fonts

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Jul 2018 05:29:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402017437-1530595755-sysbot+gh@w3.org>
The Working Group just discussed `Content authors want to modify style based on the presence of color fonts`, and agreed to the following:

* `RESOLVED: moved this issue to be a more general issue`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: Content authors want to modify style based on the presence of color fonts<br>
&lt;astearns> github: https://github.com/w3c/csswg-drafts/issues/2540<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/2540<br>
&lt;frremy> myles: this one can probably fit in a few minutes<br>
&lt;frremy> myles: the idea is that color fonts are so important to the design of the website that you should be able to chose other styles of the page depending on whether the browser supports colors fonts<br>
&lt;frremy> myles: like a media query<br>
&lt;frremy> florian: is that related to the media query for image types?<br>
&lt;frremy> florian: maybe you could load some font type, then you load another font<br>
&lt;frremy> leaverou: you can detect variable fonts with font-weight: 399<br>
&lt;frremy> fantasai: not entirely because the browser supports it but the os could not support it<br>
&lt;frremy> fantasai: font-loading could be turned off, or the download didn't work<br>
&lt;frremy> fantasai: so your question is "did my font load" that you want<br>
&lt;frremy> fantasai: and we don't have the means to create this right now<br>
&lt;frremy> florian: custom media query?<br>
&lt;frremy> myles: this should be in javascript<br>
&lt;frremy> dbaron: we had a discussion a while ago, and we had resolved to add a few @support things<br>
&lt;frremy> dbaron: and I and TabAtkins didn't work them into the spec<br>
&lt;frremy> dbaron: we should start with these easy features first<br>
&lt;frremy> dbaron: and then we should think about more complex things, if we need<br>
&lt;frremy> heycam: we can maybe add @supports for the font descriptor values<br>
&lt;frremy> fantasai: yes, but the font might not have been loaded, so your styles will be wrong<br>
&lt;frremy> chris_: so whether or not you can load isn't good enough<br>
&lt;frremy> myles: which is why I recommend javascript<br>
&lt;frremy> florian: does the same argument apply for image formats?<br>
&lt;frremy> astearns: seems like to me<br>
&lt;frremy> florian: though an svg image, if you download it, you can maybe not support one of its feature<br>
&lt;frremy> TabAtkins: svg are very complex, but most images are pretty much the same<br>
&lt;frremy> florian: I still believe it's the same problem, it's a continuous scale<br>
&lt;frremy> fantasai: I think we are not going to solve this in font-4<br>
&lt;frremy> fantasai: so let's discuss this maybe in conditionals-4<br>
&lt;frremy> myles: so let's close the font spec issue, and redirect to a more general issue<br>
&lt;frremy> fantasai: we want to frame this as "did this resource download and load properly"<br>
&lt;frremy> RESOLVED: moved this issue to be a more general issue<br>

GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2540#issuecomment-402017437 using your GitHub account
Received on Tuesday, 3 July 2018 05:29:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 3 July 2018 05:29:20 UTC