Where Style.get returns a Color object, Style.localValueForAttribute returns neither null (the usual return value where no locally specified style overrides a default) nor a Color object.
It seems to return a plain Object with no properties. Not sure if this is by design ?