Sha256: ed1bc32c61cfbfd01aafc26f914d7396ee7db6277ab9da28ff84a9d973cfc890
Contents?: true
Size: 454 Bytes
Versions: 11
Compression:
Stored size: 454 Bytes
Contents
/* * css.js */ $debug("Initializing Window CSS"); // returns a CSS2Properties object that represents the style // attributes and values used to render the specified element in this // window. Any length values are always expressed in pixel, or // absolute values. $w.getComputedStyle = function(elt, pseudo_elt){ //TODO //this is a naive implementation $debug("Getting computed style"); return elt?elt.style:new CSS2Properties({cssText:""}); };
Version data entries
11 entries across 11 versions & 2 rubygems