Checks whether all of the CSS properties specified in the "style" parameter are actually applied to the inspected element. Note that the "style" parameter should not necessarily include all of the style declarations applied to the element -- it just should include declarations that need to be checked. If at least one of the style property declarations passed in the "style" parameter doesn't match the element's current style, this method will fail with an appropriate message.
This method doesn't just check the value of the element's "style" property, but check's element's computed style including the entire CSS cascade applied to the element.
Note also that not all of the complex css properties can be checked directly with this method. As a solution you might need to split the complex declaration into several subproperty declarations, e.g. you might need to specify "font-size: 12pt; font-family: Arial; font-weight: bold" instead of "font: 12px Arial bold".
@param styleDeclaration CSS attribute declarations