Intent to Ship: display_override

130 views
Skip to first unread message

Daniel Murphy

unread,
Dec 3, 2020, 12:02:32 PM12/3/20
to blink-dev

Contact emails

dmu...@chromium.org

Explainer


https://github.com/WICG/display-override/blob/master/explainer.md

Specification

https://github.com/w3c/manifest/pull/932

API spec

Yes

Design docs


https://docs.google.com/document/d/1hEmbGVHMN38q1YTaaGccQ-Y5CHr7xIURYPRWXTuvZLo/edit#heading=h.7nki9mck5t64

Summary

Adds a new advanced field to the web manifest, "display_override", where a developer with special requirements can specify an explicit display fallback chain they would like applied. Here's an example of a website that wants "minimal-ui" to fall back to "standalone". { "display": "standalone", "display_override": ["minimal-ui"], } Note: This API is only intended to be used for advanced use cases & display modes only. Most developers will only need to use the "display" property.



Blink component

Blink>AppManifest

Search tags

displaydisplay-overridedisplay-option

TAG review

https://github.com/w3ctag/design-reviews/issues/530

TAG review status

Pending

Risks



Interoperability and Compatibility

The API is designed to be fully backwards compatible, where unsupporting browsers will fall back to the "display" field.



Gecko: No signal (https://github.com/mozilla/standards-positions/issues/447)

WebKit: No signal (https://lists.webkit.org/pipermail/webkit-dev/2020-October/031435.html)

Web developers: No signals

Ergonomics

None.



Activation

None.



Security

None.



Debuggability

None.



Is this feature fully tested by web-platform-tests?

Yes, in this PR: https://github.com/web-platform-tests/wpt/pull/26567

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1092667

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5728570678706176

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/WvIeZT8uSzw/m/al7sVZjVBAAJ

Alex Russell

unread,
Dec 3, 2020, 3:33:36 PM12/3/20
to blink-dev, Daniel Murphy
Super happy to see this moving forward. LGTM1

Mike West

unread,
Dec 9, 2020, 8:54:13 AM12/9/20
to blink-dev, Alex Russell, Daniel Murphy
LGTM2.

Yoav Weiss

unread,
Dec 9, 2020, 10:03:54 AM12/9/20
to Mike West, blink-dev, Alex Russell, Daniel Murphy
LGTM3

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2e207f9b-f272-4a4f-a463-b2e894b8c2d9n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages