W3C home > Mailing lists > Public > www-style@w3.org > December 2015

RE: [css-position] Pseudo class für elements that are moved by stickyness

From: Greg Whitworth <gwhit@microsoft.com>
Date: Tue, 15 Dec 2015 21:25:31 +0000
To: Gion Kunz <gion.kunz@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CY1PR03MB14395F45DFB4EAAAA591ED5DA4EE0@CY1PR03MB1439.namprd03.prod.outlook.com>
> It would be extremely helpful if we could use the state if an element is offset by stickiness by using a pseudo class.
> If the sticky positioning does not affect the static positioning of the lement, the pseudo class would not be active. If that element is fixed by stickyness it would activate the pseudo class.
> Something along those lines will be a very popular use-case:
 > .my-herader:sticky ..bulky-item {
 >   display: none;
 > }
> What’s your take on that?
> Cheers
> Gion

This has been discussed heavily on the WICG in this thread (sorry if you're already on that thread): http://discourse.wicg.io/t/a-pseudo-class-for-when-an-element-is-stickily-spec-term-positioned/947/3

But what Tab states would be one of the primary reasons against implementing something like this: http://discourse.wicg.io/t/a-pseudo-class-for-when-an-element-is-stickily-spec-term-positioned/947/5?u=gregwhitworth

After reading that thread, please feel free to reach back out to us, or preferably right on the WICG thread itself if you have any additional questions or ideas.


Received on Tuesday, 15 December 2015 21:26:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:59 UTC