You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding support for CSS Logical Properties was previously mentioned in issue #28, but I feel a separate tracking issue is warranted, as logical properties are well-defined and widely supported, and the scope of that issue is much larger. Logical properties allow for spacing and layout to automatically adjust based on the writing system, and the number of logical properties (such as padding-inline-start and margin-block-end, which for English pages correspond to padding-left and margin-bottom) is similar to the exisiting number of positional properties.
The simplest option would be to add the logical properties corresponding to supported physical properties to the supportedCssProperties array. If you like, I'd be happy to write up a pull request with the modifications and tests. Otherwise, let me know if you need more info.
The text was updated successfully, but these errors were encountered:
Hi,
Adding support for CSS Logical Properties was previously mentioned in issue #28, but I feel a separate tracking issue is warranted, as logical properties are well-defined and widely supported, and the scope of that issue is much larger. Logical properties allow for spacing and layout to automatically adjust based on the writing system, and the number of logical properties (such as
padding-inline-start
andmargin-block-end
, which for English pages correspond topadding-left
andmargin-bottom
) is similar to the exisiting number of positional properties.The simplest option would be to add the logical properties corresponding to supported physical properties to the
supportedCssProperties
array. If you like, I'd be happy to write up a pull request with the modifications and tests. Otherwise, let me know if you need more info.The text was updated successfully, but these errors were encountered: