Re: [csswg-drafts] [css-values-4] Should `dv*` account for `overflow: auto` scrollbars dynamically? (#10059)

It's kinda hard to replicate the issue I solved but here's something close-ish:
[example1.html.txt](https://github.com/w3c/csswg-drafts/files/14628994/example1.html.txt)
[example2.html.txt](https://github.com/w3c/csswg-drafts/files/14629029/example2.html.txt)

The thing I had to deal with was much more complex but this is one example. I had quite a struggle with the android emulator because I don't have any of the test phones with me now and desktop browsers don't suffer from this.
However, from the emulator, this is done kinda right but still a bit off.

In the first one, the idea is to demonstrate an overlay. Something that, I accept, will soon be replaced with the [dialog](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element. However, it still shows it well-enough.

The second one is another situation I encountered. There's a map to be shown with custom pins and it's intended to occupy as much of the screen as viable without being overwhelming (the `max-width` and `max-height`). That showcases it better, even though it's not that well implemented due to how fast I did it and how I just made lots of filler that doesn't fully represent how it is in reality. However, it does give the basics around how adapting to the height available can be useful for the user.

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


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

Received on Sunday, 17 March 2024 22:07:42 UTC