2003/12/28 07:02:59
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:43:23 +0000 (07:43 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:43:23 +0000 (07:43 +0000)
darcs-hash:20040130074323-2ba56-4d29910e8042346dbed10f91543db855ffb4abda.gz

src/org/xwt/Box.java

index b251d3b..9dbd0ab 100644 (file)
@@ -419,6 +419,7 @@ public final class Box extends JSScope implements Scheduler.Task {
             return redirect == null ? null : redirect == this ? getChild(toInt(name)) : redirect.get(name);
 
         //#switch(name)
+        case "surface": return parent == null ? null : parent.get("surface");
         case "indexof": return METHOD;
         case "text": return text;
         case "path": throw new JSExn("cannot read from the path property");