[csswg-drafts] [cssom-view] Expose small/large viewport dimensions on VisualViewport (#8709)

ydaniv has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] Expose small/large viewport dimensions on VisualViewport ==
Currently there's no reliable way to  get the small/large viewport dimensions.

There are some tricks in the wild for working with these values like inserting an element with something like `height: 100svh` and reading its height.

It would be handy in some cases to have these values exposed on the `VisualViewport` interface for easy querying.

I came across this when I was working on a polyfill for ViewTimeline, so I assume there are other common use-cases.

mentioning some folks who might be interested: @bramus @emilio 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8709 using your GitHub account


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

Received on Thursday, 13 April 2023 07:26:12 UTC