getSourceLocation method
Returns an object that contains the line, column, and file location of a style declaration in its original source.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
Syntax
var retVal = DiagnosticsStyles.getSourceLocation(style);
Parameters
style [in]
Type: CSSStyleDeclarationThe style declaration (typically element.style format).
Remarks
This method returns the beginning of the property block (immediately after the { for a CSS rule, or after the quote for an inline style). Styles created or modified by script return a source location of 0/0/null.