Avoid checking fractional values in text-shadow test

Latest Chrome Canary is returning fractional length values for computed text-shadow styles.
This change avoids fractional values in the text-shadow test case.