-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not compile logical styles into ltr
and rtl
equivalents.
#752
Comments
I hope this will be made a top priority. |
@mobalti Could you please explain why this is a priority for you? If you use any other value for Do you have a usecase for using |
I thought this issue was related to a discussion I started a few months ago about why the library converts all logical properties to their physical equivalents, such as changing "block-size" to "height" and "inline-size" to "width." It would be helpful if the library offered an option to disable this feature because logical properties represent how we think when we design with CSS, not just browser behavior. Thank you for considering this. |
@mobalti This is not completely accurate. Logical styles such as We are planning to fix this limitation. |
Currently, when using
styleResolution: 'legacy-expand-shorthands'
, CSS logical properties are compiled into twoltr
andrtl
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.
The text was updated successfully, but these errors were encountered: