Skip to content
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

:dir lacks wide support #30

Open
r12a opened this issue Jul 12, 2022 · 1 comment
Open

:dir lacks wide support #30

r12a opened this issue Jul 12, 2022 · 1 comment
Labels
doc:hlreq gap i:bidi_text Bidirectional text l:he Hebrew p:basic s:hebr Hebrew script

Comments

@r12a
Copy link
Contributor

r12a commented Jul 12, 2022

This issue is applicable to all languages with RTL orthographies.

Style sheets need to add special rules for RTL styles if they are not supported by logical properties or values.

One approach is to create a second style sheet which, when pulled into an HTML page, overrides styles in the main style sheet with settings for RTL text. This approach is not ideal because it requires maintaining the styles in two separate locations, which can therefore get out of synch, and it requires explicit addition of a call to the second style sheet in every page that will support RTL text.

The :dir() pseudo-class avoids these issues by allowing the content author to include the RTL variations in the same style sheet as the others. However, it is not yet supported by all major browser engines.

For more details, see this GitHub issue, which is being used to track this gap. Please add any discussion there, and not to this issue.

@r12a
Copy link
Contributor Author

r12a commented Jul 12, 2022

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents 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.

Relevant gap analysis documents include:
AdlamArabic/PersianHebrewKashmiriN'KoUighur

@r12a r12a added s:hebr Hebrew script l:he Hebrew labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc:hlreq gap i:bidi_text Bidirectional text l:he Hebrew p:basic s:hebr Hebrew script
Projects
None yet
Development

No branches or pull requests

1 participant