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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|