8000 [mediaqueries-5] Add viewport segment media features by dlibby- · Pull Request #6234 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

Conversation

dlibby-
Copy link
Contributor
@dlibby- dlibby- commented Apr 22, 2021

Add two new media feature that allow for authors to detect situations where the viewport is logically separated based on the window's configuration with respect to display features. This is designed to allow authors to target foldable devices where the viewport spans multiple displays (logical or physical).

There are features for both the horizontal and vertical directions and are integers so that future form factors (think a tri-fold device) that do not yet exist can be explicitly detected and supported by authors.

Fixes #5621

@dlibby- dlibby- requested a review from frivoal April 22, 2021 02:01
@dlibby- dlibby- requested a review from tabatkins May 11, 2021 18:22
@dlibby-
Copy link
Contributor Author
dlibby- commented May 11, 2021

@tabatkins - mind taking a look? Thanks!

@dlibby-
Copy link
Contributor Author
dlibby- commented May 24, 2021

Friendly ping @frivoal @tabatkins

@dlibby-
Copy link
Contributor Author
dlibby- commented Jul 8, 2021

I'm hoping to make progress on these features over this quarter, so will probably merge this shortly unless there are any objections. The additions are relatively small, so I'm comfortable hashing out feedback via follow up issues.

7F0B

@dlibby- dlibby- merged commit 6fde89c into w3c:main Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mediaqueries-5] Updating the CSS media feature syntax for foldable & dual-screen devices
1 participant
0