getElementPreComputedStyle function
Returns a CssStyleDeclaration of the pre-computed CSS properties of element
.
Implementation
CssStyleDeclaration getElementPreComputedStyle(Element element) {
var list = getElementAllCssProperties(element);
var allCss = list.join('; ');
return CssStyleDeclaration.css(allCss);
}