[BUG #7212] fall back to style object if currentStyle has no value for the property