8000 [babel-plugin] Do not compile logical styles into `ltr` and `rtl` equivalents. · Issue #752 · facebook/stylex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[babel-plugin] Do not compile logical styles into ltr and rtl equivalents. #752
Open
@nmn

Description

@nmn

Currently, when using styleResolution: 'legacy-expand-shorthands', CSS logical properties are compiled into two ltr and rtl equivalent CSS rules.

All new browsers natively support logical CSS properties, so we should just use those.

The one exception is border-*-*-radius, which is not supported in older browsers.
In that case, we should polyfill it after CSS generation if it makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0