DualScreen/Foldables CSS additions
- Category
- CSS
- Type
- New or changed feature
- Status
- No active development (Chrome No active development)
- Intent stage
- Start prototyping
WPT details: No WPT tests as of yet.
Summary
Add new CSS media feature and environment variables to enable web developers to target a new class of foldable devices with responsive layouts.
Motivation
Enable responsive layouts across dual screen and foldable devices now entering the market.
Standards & signals
- Firefox: No signal — Just introduced to the CSSWG. See this comment for conversation minutes: https://github.com/w3c/csswg-drafts/issues/4736#issuecomment-582686731
- Safari: No signal — Just introduced to the CSSWG. See this comment for conversation minutes: https://github.com/w3c/csswg-drafts/issues/4736#issuecomment-582686731
- Web developers: Positive — (Generally) expect the feature solution to evolve as it goes through standardization.
- Tracking bug: https://crbug.com/1039051
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=dualscreen-foldables-css-additions
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+DualScreen%2FFoldables%20CSS%20additions
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=DualScreen%2FFoldables%20CSS%20additions
- Baseline status: https://webstatus.dev/?q=DualScreen%2FFoldables%20CSS%20additions
Docs: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/Foldables/explainer.md
Explainers: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/Foldables/explainer.md