Check against expected inline style instead of computed style

Putting the expected style through getComputedStyle() can invalidate the expected value when other properties are not set accordingly.
Example expected style:
    borderWidth: 10px
getComputedStyle()
    borderWidth: 0px (because borderStyle is 'none')