w3c / hlreq

Hebrew script layout requirements
Other
8 stars 9 forks source link

Logical CSS shorthands needed #26

Open r12a opened 3 years ago

r12a commented 3 years ago

This issue is common to all RTL scripts.

Adoption of logical keywords such as -start and -end, rather than -left and -right needs to be completed.

For margins, padding, block size, border colour, width & style, logical keywords such as margin-inline-start or margin-block-end are widely supported by major browsers in their simplest forms (such as those just mentioned). However, logical properties are not well supported in shorthands such as margin-block or margin-inline or the margin property. The lack of support for shorthands is significant, since they are expected to have high use.

For more details, see this GitHub issue, which is being used to track this gap.

r12a commented 3 years ago

_The first comment in this issue contains text that will automatically appear in the Hebrew gap-analysis document as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the document. Proposals for changes or discussion of the content can be made in comments below this point._