-
-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Description
Bug description
I'm not sure if this is a bug or a feature (because the documentation doesn't say that this should be compiled this way)
The issue is that PostCSS Logical will used to compile CSS and include RTL versions (assuming default is LTR).
Example source:
.test { padding-inline-start: 10px; }
Example output:
.test { padding-left: 10px; }
[dir="rtl"] .test { padding-right: 10px; }
However, I can't see any option within PostCSS Logical Float And Clear to do the same.
Source CSS
.test { float: inline-start; }
Expected CSS
.test { float: left; }
[dir="rtl"] .test { float: right; }
Actual CSS
.test { float: left; }
Does it happen with npx @csstools/csstools-cli <plugin-name> minimal-example.css?
N/A
Debug output
No response
Extra config
No response
What plugin are you experiencing this issue on?
PostCSS Preset Env, PostCSS Logical Float and Clear
Plugin version
1.0.1
What OS are you experiencing this on?
macOS
Node Version
16.13.1
Validations
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Would you like to open a PR for this bug?
- I'm willing to open a PR
Metadata
Metadata
Assignees
Labels
No labels