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 660489 - css parsing failure with :active
css parsing failure with :active
Status: RESOLVED DUPLICATE of bug 722727
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
3.0.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-09-29 15:43 UTC by Morten Welinder
Modified: 2014-07-14 03:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2011-09-29 15:43:32 UTC
It looks to me as-if gtk is unhappy with any class name following
a :active selector.  For example:


GtkNotebook tab:first-child GtkEntry { font-weight : bold }
GtkNotebook tab:active GtkEntry { font-weight : bold }



Gtk-Message: CSS: Parse error, expecting a  '{'
/home/welinder/.config/gtk-3.0/gtk.css, line 2, char 31:
    GtkNotebook tab:active GtkEntry { font-weight : bold }
Comment 1 Matthias Clasen 2014-07-10 04:19:07 UTC
yes, pseudo-classes like :active are only supported on the last element of the selector
Comment 2 Matthias Clasen 2014-07-14 03:07:47 UTC

*** This bug has been marked as a duplicate of bug 722727 ***