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

Supporting asymmetric shaped displays #37

Closed
chris480 opened this issue Sep 7, 2020 · 1 comment
Closed

Supporting asymmetric shaped displays #37

chris480 opened this issue Sep 7, 2020 · 1 comment

Comments

@chris480
Copy link

chris480 commented Sep 7, 2020

Going off the proposal I'm wondering how the current spec could handle multiple displays that aren't direct mirrors of each other. Such as a slide out display or a displays with different orientation from the parent (eg. the lg wing concept).

Some questions:

  • Can the posture queries be chained to target a specific display?
  • Are viewports returned per 'screen'?
  • Does the spec address scroll behavior to allow independent scrolling windows?
@darktears
Copy link
Contributor

The current Viewport Segments specification handles asymmetric segments, as well as more than two.

There seems to be a misconception in this issue. Device Posture and Viewport Segments are per browser window. For the viewport segments to be defined one needs to have the browser window spanning across both screens for example. See https://github.com/foldable-devices/demos.

I'm going to close this issue since it doesn't pertain to the Device Posture API anyway.

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

No branches or pull requests

2 participants