Re: [device-posture] Adding fold position to identify orientation instead of identify device model (#63)

I believe that foldable should implement the Window Segment API because I believe the two are complimentary.

For example in the folded state, we would return two segments and thanks to the API you would know where the fold is. The implementation would be straightforward when the browser window is full screen, slightly more tricky in the case you mentioned (popup window). And you can even do that with CSS.

All in all exposing the fold position is somewhat duplicating the information that the Window Segment API/CSS Media Spanning is providing. I think the only thing we would add over there is exposing the type of hinge (transparent vs non-transparent).

@kenchris @diekus what do you think?

GitHub Notification of comment by darktears
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Wednesday, 28 July 2021 17:55:49 UTC