W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

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

From: Greg Whitworth via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 Jul 2020 01:47:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-655847121-1594259243-sysbot+gh@w3.org>
> <dael> TabAtkins: If we ever do want to attach to an element some mech is the thing being used to position non-anchor dialogs. If we switch non-anchor to fixedpos we have to figure out how to do it for non-anchored.

> <dael> iank_: I think a different solution for anchoring down the road

I think we should open a seperate issue for this because authors do want this capability outside of the specific `<dialog>` need (eg: tooltips, dropdown menus, etc). So this should be thought about sooner rather than later. In the research that @annevk shared there are many examples that are not centered and are anchored to an element. While I get the implementation concerns I'm also curious of making the dialog itself the scroller via overflow behavior is the right way. Most of the scenarios that come to mind however normally don't fit in what seems to be the primary definition (based on what is shipping) as a `<dialogue>`.

cc: @melanierichards

-- 
GitHub Notification of comment by gregwhitworth
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4645#issuecomment-655847121 using your GitHub account
Received on Thursday, 9 July 2020 01:47:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC