Skip to content

[BUG] Inline styles are not shifted #435

Description

@jamesnw

Describe the bug
Some declarations are "shifted" to custom properties, so that we can read raw values later on, particularly for position-area. For instance, margin-left gets shifted to something like --margin-left-iYzMB7a9uGpUFP_AnDLsc.

Inline styles don't go through the same pipeline, aren't shifted, and are not available for the parts that require it.

To Reproduce
Add an inline style, apply the polyfill, and see that there isn't a shifted value.

Discovered by @jpzwarte as part of #428

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions