Stylesheet scoping bug?

Ross Wetmore <[email protected]>
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Is this a bug? If not why are anonymous objects the only
ones one can associate styles with by id or class?

Cheers,
RossW
=====

XulTag.java:
    public StyleSheet getStyle()
    {
       if( _style == null )
       {
          String id = getId();
          String clazz = getStyleClass();
          String element = getElementName();
-        boolean hasId = id.equals( "anonymous" );
-        boolean hasClass = id.equals( "anonymous" );
+        boolean hasId = (!id.equals( "anonymous" ));
+        boolean hasClass = (!id.equals( "anonymous" ));



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.