This isn’t a bug, it’s just meant to be empty, so you cannot read the original style of the component, you can only read and write your own styling, and since you didn’t set the style manually, the value remains undefined.
Here’s an example of how the styling might be coded.
@tisan1 Since you’re directly editing the value of the style by updating its variables, you’re most likely to break the page if passed the wrong type of the expected value, unlike the methods where the developer can implement checks and validations before accepting the value and updating the style, there’s no protection against these kinds of human errors.