*Contact emails* [email protected] *Explainer* https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ApplicationContextMediaFeature/explainer.md
*Specification* https://github.com/w3c/manifest/pull/1218 *Summary* The `application-context` CSS media feature provides a reliable, stable, boolean signal indicating what app context the current document window is running in. It evaluates to `true` when the document is in an application context (a top-level browsing context with a manifest applied, presented in its own app window) and `false` in all other contexts (running in a browser tab). This feature separates the concept of "running as an installed app" from the app's current display mode, solving a long-standing gap in the web platform where developers lacked a clean, stable signal for installation state. *Blink component* Blink>AppManifest <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3EAppManifest%22> *Web Feature ID* Missing feature *Motivation* Web developers currently lack a reliable way to determine whether their app is running in an installed app window versus a browser tab. Existing signals like the `display-mode` media query reflect presentation mode rather than application context and break under common scenarios (entering fullscreen), leading to incorrect UI behavior such as install prompts reappearing or app-specific UI disappearing. The web platform today has no stable, declarative primitive to distinguish these orthogonal concepts, forcing developers to rely on fragile workarounds. The proposed `application-context` media feature addresses this gap by providing a consistent signal of the current application context, enabling developers to correctly adapt UI and behavior across both installed and browser experiences. *Initial public proposal* WICG: https://github.com/WICG/proposals/issues/288 <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWICG%2Fproposals%2Fissues%2F288&data=05%7C02%7Cakyereboah%40microsoft.com%7Cdeb3f630c35e413ba45508dec6563b3f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639166270885005775%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=0L3D1Rn3Skx4utzzaWc55e5F9kDUswE9EkjFaBOd2kg%3D&reserved=0> CSSWG: https://github.com/w3c/csswg-drafts/issues/13932 <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fw3c%2Fcsswg-drafts%2Fissues%2F13932&data=05%7C02%7Cakyereboah%40microsoft.com%7Cdeb3f630c35e413ba45508dec6563b3f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C639166270885031179%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sd6hK9%2Bl%2BgDbr8WTfwyso%2BqzwlrL7gYQpLQMiX1eWSI%3D&reserved=0> *Search tags* installed <https://chromestatus.com/features#tags:installed>, application <https://chromestatus.com/features#tags:application>, context <https://chromestatus.com/features#tags:context>, media query <https://chromestatus.com/features#tags:media%20query> *Tracking bug* https://issues.chromium.org/issues/382114911 *Estimated milestones* No milestones specified *Link to entry on the Chrome Platform Status* https://chromestatus.com/feature/4882674767495168?gate=5176694429319168 This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- 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 [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2303ddaa-b3b5-4f32-ade9-1f03b61d607cn%40chromium.org.
