I'm not sure if this helps, but you can use the Javascript
getComputedStyle(element, [psuedoElement..])
function to return the properties of a given object.
A very important piece of information to consider is that the returned style object is read-only, and is the complete collection of styles of the node. Ie, if you say "font: SomeReallyCrazyFont" on <body>, calling getComputedStyle on a child element which doesn't have any explicitly defined font will contain "SomeReallyCrazyFont" as it's font property.