add: el.firstChild.style.height = el.offsetHeight + 'px'; 
context:     initElement: function (el) {      el = this.fixElement_(el);      el.getContext = function () {        if (this.context_) {          return this.context_;        }        return this.context_ = new CanvasRenderingContext2D_(this);      };      var self = this; //bind      el.attachEvent("onpropertychange", function (e) {        // we need to watch changes to width and height        switch (e.propertyName) {          case "width":          case "height":            // coord size changed?            break;        }      });      // if style.height is set      var attrs = el.attributes;      if (attrs.width && attrs.width.specified) {        // TODO: use runtimeStyle and coordsize        // el.getContext().setWidth_(attrs.width.nodeValue);        el.style.width = attrs.width.nodeValue + "px";      }      if (attrs.height && attrs.height.specified) {        // TODO: use runtimeStyle and coordsize        // el.getContext().setHeight_(attrs.height.nodeValue);        el.style.height = attrs.height.nodeValue + "px";      }      //el.getContext().setCoordsize_()    }
meta: 4951	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4951/58d1b65aa3c4a807e2a59d04553f2e9f26ef101a/excanvas.js/clean/excanvas.js