Surround class values with spaces.

When using a CSS class selector the resulting XPath string passed to contains()
should be surrounded by spaces.
Updated part of the CSS axis specs.