Is there a JavaScript DOM API to get the current style information (selectors and their associated CSS rules, width and height attributes, style attributes, etc.) for a node or set of nodes and save them into an XML document or similar?
I want to do automated comparison tests.
Thanks for any help.