Re: [csswg-drafts] [dialog element] <dialog> positioning should be describable in CSS (#4645)

> My preferred approach would be to always host the dialog inside a position:fixed container and describe something that makes the dialog scrollable if taller than the screen.

I agree actually! So maybe the dialogs should just be `max-height: 100vh; overflow: auto;` or something of that sort. Was that something like what you had in mind? Or some other kind of magic?

> Dumb question: what is the dialog's containing block for a modal dialog?

I think right now it depends, if it's fixedpos it'd be the viewport, if it's abspos it'd be the ICB.

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

Received on Friday, 29 May 2020 00:55:17 UTC