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