changeset 1762:28c8728cb18c

RT-23461 addendum: fix pseudo-class state matching broken by prior changeset under this bug number
author David Grieve<david.grieve@oracle.com>
date Fri, 14 Sep 2012 14:40:06 -0400
parents e76f959dbc62
children 5b2c3b1804f4 7e64b82fa22c
files javafx-ui-common/src/com/sun/javafx/css/StyleHelper.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/com/sun/javafx/css/StyleHelper.java	Fri Sep 14 10:20:59 2012 -0700
+++ b/javafx-ui-common/src/com/sun/javafx/css/StyleHelper.java	Fri Sep 14 14:40:06 2012 -0400
@@ -717,7 +717,7 @@
         // avoid calling impl_getPseudoClassState if there 
         // aren't any pseudoclasses that matter
         states[count-1] = (helper.pseudoclassStateMask != 0) 
-                ? node.impl_getPseudoClassState() & helper.pseudoclassStateMask
+                ? node.impl_getPseudoClassState()
                 : 0;
 
         return states;