Concordion > Displaying Results > Success >

Element Already Has A Class Attribute

If an element already has a class attribute then the new attribute will be appended to the existing value, separated by space.

Example

<span concordion:assertEquals="username" class="blah">fred</span>

When marked as a success becomes:

<span concordion:assertEquals="username" class="blah success">fred</span>