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 newCSSStyleDeclaration(cssText: allCss);
}