I'm coding a javascript scriptlet on which I'm resizing a DOM element. But I need to know if the element was originally sized absolutely or relatively.
Of corse I can read its clientWidth
property, but it always returns an absolute integer. How can I know if it was originally specified by a percentage number in a CSS? Is there any CSS property -readable from javascript- containing the original width expression?