Re: [csswg-drafts] [cssom-view] Expose small/large viewport dimensions of the layout viewport (#8709)

I wasn’t able to attend the meeting today, so replying here now quoting from the log:

 > @smfr: Slightly concerned about .viewport being confused with visual viewport

We decided on creating `.viewport` in https://github.com/w3c/csswg-drafts/issues/9237#issuecomment-2160730855 to prevent exactly that confusion. We have `window.viewport` for the (layout) viewport and `window.visualViewport` for the Visual Viewport. Both are two distinct things.

> @smfr: exposing these somehwere, just unsure where

These should be exposed on `window.viewport` because these are specific variants of the layout viewport, not the visual viewport. For the same reason we put `.segments` also underneath it.


-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8709#issuecomment-2402897695 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 October 2024 17:28:01 UTC