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

Re: [csswg-drafts] [css-positioning] position: popover proposal (#5699)

From: Krzysztof Maczyński via GitHub <sysbot+gh@w3.org>
Date: Sun, 08 Nov 2020 05:42:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-723534070-1604814156-sysbot+gh@w3.org>
I remember wanting a solution for use cases like this at least a few times. But is it really a new positioning scheme? I'd prefer something that works orthogonally to `position`. The goal is to allow the element to be hoisted for some parts of styling as much as possible, breaking from ancestors' context. I see two main differences from regular behaviour:
- painting order: we want it on top of other stuff, even that in other stacking contexts;
- overflow: the element should overflow its ancestors even if they normally don't allow it.

Of course this also needs working out the details. Probably `contain` should trump hoisting. Maybe there should also be a property preventing descendants from being hoisted further. Not necessarily a binary one – perhaps named hoisting contexts would be useful.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 8 November 2020 05:42:39 UTC

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