When autofixing physical properties to logical properties, the plugin incorrectly handles !important declarations.
Input CSS
body { left: 0; right: 0 !important; }
Current output
body { inset-inline: 0; }
Expected output
body { inset-inline-start: 0; inset-inline-end: 0 !important; }
The autofix should preserve the !important declaration. When properties have different importance levels, they should not be merged into shorthand properties.
When autofixing physical properties to logical properties, the plugin incorrectly handles
!importantdeclarations.Input CSS
Current output
Expected output
The autofix should preserve the
!importantdeclaration. When properties have different importance levels, they should not be merged into shorthand properties.