Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mediaqueries-5] Add viewport segment media features #6234

Merged
merged 1 commit into from
Jul 14, 2021

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.

@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
1 participant