I am trying to extract the precise box-shadow parameters from a CSS style rule generated by the server. My main focus is determining whether the element actually displays a visible shadow or not. There are instances where the shadow rule is set as something other than "none", but the shadow is not visible due to an opacity value of 0, or when the blur is set to 0 and the spread is negative.
Do you have any suggestions on how I can achieve this?