W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

Re: [csswg-drafts] [css-overflow] Selective overflow: hidden (#3417)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 14 Dec 2018 21:02:03 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-447478416-1544821321-sysbot+gh@w3.org>
Yes, @fantasai was talking about native tooltips, which are rendered atop everything.  That page is just showing some in-page element, which is affected by stacking/clipping contexts.

CSS is bound (for many reasons, mostly good) by the stacking/clipping context tree. "Escaping" that is difficult. The correct way to avoid being clipped by an ancestor is to not have an ancestor that clips you; in-page tooltips should be rendered as children of `<body>` and positioned with JS.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3417#issuecomment-447478416 using your GitHub account
Received on Friday, 14 December 2018 21:02:04 UTC

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