After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704693 - CSS: support for reverse lookup selectors
CSS: support for reverse lookup selectors
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
3.9.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-07-22 16:28 UTC by Allan Day
Modified: 2018-05-02 15:44 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8


Attachments
screenshot (4.76 KB, image/png)
2013-07-22 16:28 UTC, Allan Day
Details

Description Allan Day 2013-07-22 16:28:22 UTC
Created attachment 249819 [details]
screenshot

We currently have a few theme bugs that require reverse lookup selectors, such as !E and F. One example is attached as a screenshot - you can see that the focus highlight is missing from the right.

There are other things that might want to do in the future that will require this feature, such as flat-style grouped toggle buttons.
Comment 1 Matthias Clasen 2014-12-03 12:48:53 UTC
note for future reference: 'reverse lookup' is not yet part of any css standards or drafts - jquery has something like a :parent filter.
Comment 2 Matthias Clasen 2016-01-10 20:12:12 UTC
Relevant reference: https://drafts.csswg.org/selectors/#relational
Comment 3 Matthias Clasen 2018-02-10 05:00:14 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 4 Lapo Calamandrei 2018-02-12 11:59:18 UTC
Still very interesting, reopening.
Comment 5 GNOME Infrastructure Team 2018-05-02 15:44:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/437.