Re: [w3c/manifest] Honor media attribute (#955)

Re: using `lang=""`, we face an uphill battle trying to get bare minimum cross-browser support of any `<link>` attributes, including `media=""`, `lang=""`, etc. so it's best to be super conservative here and take whatever we can get from HTML. At the same time, I want to be cautious about adding new mechanisms to do things the web already does (even if it does them in less than ideal ways, which we should perhaps address at the HTML level).  

> the keys affected are:
>
> * theme_color
> * background_color

No sure I follow. Can you help me understand how they are affected? It would seem `color_scheme` should only really apply to a particular image resource. 

As an aside, I wonder if an SVG icon would declare a `prefers-color-scheme` rule inside itself? Obviously, that wouldn't help PNG, JPG, etc. But it may be indicative that perhaps the icon file format itself should support the color scheme selection. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/955#issuecomment-786394247

Received on Friday, 26 February 2021 03:57:28 UTC