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 660833 - all: add an 'only-child' pseudo-class selector
all: add an 'only-child' pseudo-class selector
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 659269 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-03 21:11 UTC by Cosimo Cecchi
Modified: 2011-11-07 22:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
all: add an 'only-child' pseudo-class selector (2.69 KB, patch)
2011-10-03 21:11 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2011-10-03 21:11:33 UTC
See attached patch
Comment 1 Cosimo Cecchi 2011-10-03 21:11:34 UTC
Created attachment 198157 [details] [review]
all: add an 'only-child' pseudo-class selector

Add an :only-child pseudo-class selector, which selects single children
of a parent container.
Comment 2 Matthias Clasen 2011-10-03 22:53:29 UTC
Review of attachment 198157 [details] [review]:

I think we should have some tests to go with this; otherwise looks fine
Comment 3 Cosimo Cecchi 2011-10-04 15:49:12 UTC
Attachment 198157 [details] pushed as 1f2cfb5 - all: add an 'only-child' pseudo-class selector

Thanks for the review, I now pushed this to git master along with a new reftest for the new selector.
Comment 4 Cosimo Cecchi 2011-11-07 22:08:55 UTC
*** Bug 659269 has been marked as a duplicate of this bug. ***