Re: [w3c/manifest] More precise control over app window features (#856)

I'm in favour of the `display_modifers` proposal as a sibling to the `display` field.

I think it's inevitable that we will need to make room for more precise control over these modifiers. To future proof this each display modifier should be able to accept either a bool or a bag of further customisations e.g.
```json
{
  "display": "standalone",
  "display_modifiers": {
    "tabs": true
  }
}
```
or
```json
{
  "display": "standalone",
  "display_modifiers": {
    "tabs": {
      "active_color": "white",
      "inactive_color": "transparent"
    }
  }
}
```

`"tabs": true` and `"tabs": {}` are behaviourally equivalent; all sub customisations are decided by the user agent.

-- 
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/856#issuecomment-614469023

Received on Thursday, 16 April 2020 07:34:58 UTC